/
BootstrapRole.go
35 lines (32 loc) · 1.42 KB
/
BootstrapRole.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
package cloudassemblyschema
// Information needed to access an IAM role created as part of the bootstrap process.
//
// 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"
//
// bootstrapRole := &BootstrapRole{
// Arn: jsii.String("arn"),
//
// // the properties below are optional
// AssumeRoleExternalId: jsii.String("assumeRoleExternalId"),
// BootstrapStackVersionSsmParameter: jsii.String("bootstrapStackVersionSsmParameter"),
// RequiresBootstrapStackVersion: jsii.Number(123),
// }
//
// Experimental.
type BootstrapRole struct {
// The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
// Experimental.
Arn *string `field:"required" json:"arn" yaml:"arn"`
// External ID to use when assuming the bootstrap role.
// Experimental.
AssumeRoleExternalId *string `field:"optional" json:"assumeRoleExternalId" yaml:"assumeRoleExternalId"`
// Name of SSM parameter with bootstrap stack version.
// Experimental.
BootstrapStackVersionSsmParameter *string `field:"optional" json:"bootstrapStackVersionSsmParameter" yaml:"bootstrapStackVersionSsmParameter"`
// Version of bootstrap stack required to use this role.
// Experimental.
RequiresBootstrapStackVersion *float64 `field:"optional" json:"requiresBootstrapStackVersion" yaml:"requiresBootstrapStackVersion"`
}