/
CfnStateMachine_ApiEventProperty.go
30 lines (27 loc) · 1.27 KB
/
CfnStateMachine_ApiEventProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package awssam
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// apiEventProperty := &ApiEventProperty{
// Method: jsii.String("method"),
// Path: jsii.String("path"),
//
// // the properties below are optional
// RestApiId: jsii.String("restApiId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-statemachine-apievent.html
//
type CfnStateMachine_ApiEventProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-statemachine-apievent.html#cfn-serverless-statemachine-apievent-method
//
Method *string `field:"required" json:"method" yaml:"method"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-statemachine-apievent.html#cfn-serverless-statemachine-apievent-path
//
Path *string `field:"required" json:"path" yaml:"path"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-statemachine-apievent.html#cfn-serverless-statemachine-apievent-restapiid
//
RestApiId *string `field:"optional" json:"restApiId" yaml:"restApiId"`
}