Class BootstrapRole
Information needed to access an IAM role created as part of the bootstrap process.
Inheritance
Implements
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public class BootstrapRole : Object, IBootstrapRole
Syntax (vb)
Public Class BootstrapRole
Inherits Object
Implements IBootstrapRole
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CloudAssembly.Schema;
var bootstrapRole = new BootstrapRole {
Arn = "arn",
// the properties below are optional
AssumeRoleExternalId = "assumeRoleExternalId",
BootstrapStackVersionSsmParameter = "bootstrapStackVersionSsmParameter",
RequiresBootstrapStackVersion = 123
};
Synopsis
Constructors
BootstrapRole() |
Properties
Arn | The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn. |
AssumeRoleExternalId | External ID to use when assuming the bootstrap role. |
BootstrapStackVersionSsmParameter | Name of SSM parameter with bootstrap stack version. |
RequiresBootstrapStackVersion | Version of bootstrap stack required to use this role. |
Constructors
BootstrapRole()
public BootstrapRole()
Properties
Arn
The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
public string Arn { get; set; }
Property Value
System.String
AssumeRoleExternalId
External ID to use when assuming the bootstrap role.
public string AssumeRoleExternalId { get; set; }
Property Value
System.String
Remarks
Default: - No external ID
BootstrapStackVersionSsmParameter
Name of SSM parameter with bootstrap stack version.
public string BootstrapStackVersionSsmParameter { get; set; }
Property Value
System.String
Remarks
Default: - Discover SSM parameter by reading stack
RequiresBootstrapStackVersion
Version of bootstrap stack required to use this role.
public Nullable<double> RequiresBootstrapStackVersion { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - No bootstrap stack required