/
CfnApplicationProps.go
46 lines (43 loc) · 2 KB
/
CfnApplicationProps.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package awssam
// Properties for defining a `CfnApplication`.
//
// 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"
//
// cfnApplicationProps := &CfnApplicationProps{
// Location: jsii.String("location"),
//
// // the properties below are optional
// NotificationArns: []*string{
// jsii.String("notificationArns"),
// },
// Parameters: map[string]*string{
// "parametersKey": jsii.String("parameters"),
// },
// Tags: map[string]*string{
// "tagsKey": jsii.String("tags"),
// },
// TimeoutInMinutes: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html
//
type CfnApplicationProps struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html#cfn-serverless-application-location
//
Location interface{} `field:"required" json:"location" yaml:"location"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html#cfn-serverless-application-notificationarns
//
NotificationArns *[]*string `field:"optional" json:"notificationArns" yaml:"notificationArns"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html#cfn-serverless-application-parameters
//
Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html#cfn-serverless-application-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-application.html#cfn-serverless-application-timeoutinminutes
//
TimeoutInMinutes *float64 `field:"optional" json:"timeoutInMinutes" yaml:"timeoutInMinutes"`
}