Interface IBootstrapRole
Information needed to access an IAM role created as part of the bootstrap process.
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBootstrapRole
Syntax (vb)
Public Interface 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
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. |
Properties
Arn
The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
string Arn { get; }
Property Value
System.String
AssumeRoleExternalId
External ID to use when assuming the bootstrap role.
virtual string AssumeRoleExternalId { get; }
Property Value
System.String
Remarks
Default: - No external ID
BootstrapStackVersionSsmParameter
Name of SSM parameter with bootstrap stack version.
virtual string BootstrapStackVersionSsmParameter { get; }
Property Value
System.String
Remarks
Default: - Discover SSM parameter by reading stack
RequiresBootstrapStackVersion
Version of bootstrap stack required to use this role.
virtual Nullable<double> RequiresBootstrapStackVersion { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - No bootstrap stack required