-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_SynthesizeStackArtifactOptions.go
79 lines (76 loc) · 3.7 KB
/
awscdk_SynthesizeStackArtifactOptions.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// An experiment to bundle the entire CDK into a single module
package awscdk
import (
"github.com/aws/aws-cdk-go/awscdk/cloudassemblyschema"
)
// Stack artifact options.
//
// A subset of `cxschema.AwsCloudFormationStackProperties` of optional settings that need to be
// configurable by synthesizers, plus `additionalDependencies`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import monocdk "github.com/aws/aws-cdk-go/awscdk"
//
// synthesizeStackArtifactOptions := &synthesizeStackArtifactOptions{
// additionalDependencies: []*string{
// jsii.String("additionalDependencies"),
// },
// assumeRoleArn: jsii.String("assumeRoleArn"),
// assumeRoleExternalId: jsii.String("assumeRoleExternalId"),
// bootstrapStackVersionSsmParameter: jsii.String("bootstrapStackVersionSsmParameter"),
// cloudFormationExecutionRoleArn: jsii.String("cloudFormationExecutionRoleArn"),
// lookupRole: &bootstrapRole{
// arn: jsii.String("arn"),
//
// // the properties below are optional
// assumeRoleExternalId: jsii.String("assumeRoleExternalId"),
// bootstrapStackVersionSsmParameter: jsii.String("bootstrapStackVersionSsmParameter"),
// requiresBootstrapStackVersion: jsii.Number(123),
// },
// parameters: map[string]*string{
// "parametersKey": jsii.String("parameters"),
// },
// requiresBootstrapStackVersion: jsii.Number(123),
// stackTemplateAssetObjectUrl: jsii.String("stackTemplateAssetObjectUrl"),
// }
//
// Experimental.
type SynthesizeStackArtifactOptions struct {
// Identifiers of additional dependencies.
// Experimental.
AdditionalDependencies *[]*string `field:"optional" json:"additionalDependencies" yaml:"additionalDependencies"`
// The role that needs to be assumed to deploy the stack.
// Experimental.
AssumeRoleArn *string `field:"optional" json:"assumeRoleArn" yaml:"assumeRoleArn"`
// The externalID to use with the assumeRoleArn.
// Experimental.
AssumeRoleExternalId *string `field:"optional" json:"assumeRoleExternalId" yaml:"assumeRoleExternalId"`
// SSM parameter where the bootstrap stack version number can be found.
//
// Only used if `requiresBootstrapStackVersion` is set.
//
// - If this value is not set, the bootstrap stack name must be known at
// deployment time so the stack version can be looked up from the stack
// outputs.
// - If this value is set, the bootstrap stack can have any name because
// we won't need to look it up.
// Experimental.
BootstrapStackVersionSsmParameter *string `field:"optional" json:"bootstrapStackVersionSsmParameter" yaml:"bootstrapStackVersionSsmParameter"`
// The role that is passed to CloudFormation to execute the change set.
// Experimental.
CloudFormationExecutionRoleArn *string `field:"optional" json:"cloudFormationExecutionRoleArn" yaml:"cloudFormationExecutionRoleArn"`
// The role to use to look up values from the target AWS account.
// Experimental.
LookupRole *cloudassemblyschema.BootstrapRole `field:"optional" json:"lookupRole" yaml:"lookupRole"`
// Values for CloudFormation stack parameters that should be passed when the stack is deployed.
// Experimental.
Parameters *map[string]*string `field:"optional" json:"parameters" yaml:"parameters"`
// Version of bootstrap stack required to deploy this stack.
// Experimental.
RequiresBootstrapStackVersion *float64 `field:"optional" json:"requiresBootstrapStackVersion" yaml:"requiresBootstrapStackVersion"`
// If the stack template has already been included in the asset manifest, its asset URL.
// Experimental.
StackTemplateAssetObjectUrl *string `field:"optional" json:"stackTemplateAssetObjectUrl" yaml:"stackTemplateAssetObjectUrl"`
}