interface SAMPolicyTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SAM.CfnStateMachinePropsMixin.SAMPolicyTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssam#CfnStateMachinePropsMixin_SAMPolicyTemplateProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sam.CfnStateMachinePropsMixin.SAMPolicyTemplateProperty |
Python | aws_cdk.cfn_property_mixins.aws_sam.CfnStateMachinePropsMixin.SAMPolicyTemplateProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sam » CfnStateMachinePropsMixin » SAMPolicyTemplateProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from '@aws-cdk/cfn-property-mixins';
const sAMPolicyTemplateProperty: sam.CfnStateMachinePropsMixin.SAMPolicyTemplateProperty = {
lambdaInvokePolicy: {
functionName: 'functionName',
},
stepFunctionsExecutionPolicy: {
stateMachineName: 'stateMachineName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| lambda | IResolvable | Function | |
| step | IResolvable | State |
lambdaInvokePolicy?
Type:
IResolvable | Function
(optional)
stepFunctionsExecutionPolicy?
Type:
IResolvable | State
(optional)

.NET
Go
Java
Python
TypeScript