-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscloudformation_CfnStackProps.go
65 lines (62 loc) · 3.34 KB
/
awscloudformation_CfnStackProps.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package awscloudformation
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnStack`.
//
// 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"
//
// cfnStackProps := &cfnStackProps{
// templateUrl: jsii.String("templateUrl"),
//
// // the properties below are optional
// notificationArns: []*string{
// jsii.String("notificationArns"),
// },
// parameters: map[string]*string{
// "parametersKey": jsii.String("parameters"),
// },
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// timeoutInMinutes: jsii.Number(123),
// }
//
type CfnStackProps struct {
// Location of file containing the template body.
//
// The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see [Template anatomy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) .
//
// Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
TemplateUrl *string `field:"required" json:"templateUrl" yaml:"templateUrl"`
// The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events.
//
// You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI).
NotificationArns *[]*string `field:"optional" json:"notificationArns" yaml:"notificationArns"`
// The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created.
//
// Each parameter has a name corresponding to a parameter defined in the embedded template and a value representing the value that you want to set for the parameter.
//
// > If you use the `Ref` function to pass a parameter value to a nested stack, comma-delimited list parameters must be of type `String` . In other words, you can't pass values that are of type `CommaDelimitedList` to nested stacks.
//
// Conditional. Required if the nested stack requires input parameters.
//
// Whether an update causes interruptions depends on the resources that are being updated. An update never causes a nested stack to be replaced.
Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
// Key-value pairs to associate with this stack.
//
// AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The length of time, in minutes, that CloudFormation waits for the nested stack to reach the `CREATE_COMPLETE` state.
//
// The default is no timeout. When CloudFormation detects that the nested stack has reached the `CREATE_COMPLETE` state, it marks the nested stack resource as `CREATE_COMPLETE` in the parent stack and resumes creating the parent stack. If the timeout period expires before the nested stack reaches `CREATE_COMPLETE` , CloudFormation marks the nested stack as failed and rolls back both the nested stack and parent stack.
//
// Updates aren't supported.
TimeoutInMinutes *float64 `field:"optional" json:"timeoutInMinutes" yaml:"timeoutInMinutes"`
}