@aws-cdk_cloud-assembly-schema.BootstrapRole

interface BootstrapRole

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.BootstrapRole
Javasoftware.amazon.awscdk.cloudassembly.schema.BootstrapRole
Pythonaws_cdk.cloud_assembly_schema.BootstrapRole
TypeScript (source)@aws-cdk/cloud-assembly-schema » BootstrapRole

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 * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const bootstrapRole: cloud_assembly_schema.BootstrapRole = {
  arn: 'arn',

  // the properties below are optional
  assumeRoleExternalId: 'assumeRoleExternalId',
  bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',
  requiresBootstrapStackVersion: 123,
};

Properties

NameTypeDescription
arnstringThe ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
assumeRoleExternalId?stringExternal ID to use when assuming the bootstrap role.
bootstrapStackVersionSsmParameter?stringName of SSM parameter with bootstrap stack version.
requiresBootstrapStackVersion?numberVersion of bootstrap stack required to use this role.

arn

Type: string

The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.


assumeRoleExternalId?

Type: string (optional, default: No external ID)

External ID to use when assuming the bootstrap role.


bootstrapStackVersionSsmParameter?

Type: string (optional, default: Discover SSM parameter by reading stack)

Name of SSM parameter with bootstrap stack version.


requiresBootstrapStackVersion?

Type: number (optional, default: No bootstrap stack required)

Version of bootstrap stack required to use this role.