interface HooksProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.HooksProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.HooksProperty |
Python | aws_cdk.aws_sam.CfnFunction.HooksProperty |
TypeScript | @aws-cdk/aws-sam » CfnFunction » HooksProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
const hooksProperty: sam.CfnFunction.HooksProperty = {
postTraffic: 'postTraffic',
preTraffic: 'preTraffic',
};
Properties
Name | Type | Description |
---|---|---|
post | string | CfnFunction.HooksProperty.PostTraffic . |
pre | string | CfnFunction.HooksProperty.PreTraffic . |
postTraffic?
Type:
string
(optional)
CfnFunction.HooksProperty.PostTraffic
.
preTraffic?
Type:
string
(optional)
CfnFunction.HooksProperty.PreTraffic
.