BootstrapRole
- class aws_cdk.cloud_assembly_schema.BootstrapRole(*, arn, assume_role_additional_options=None, assume_role_external_id=None, bootstrap_stack_version_ssm_parameter=None, requires_bootstrap_stack_version=None)
Bases:
object
Information needed to access an IAM role created as part of the bootstrap process.
- Parameters:
arn (
str
) – The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.assume_role_additional_options (
Optional
[Mapping
[str
,Any
]]) – Additional options to pass to STS when assuming the role. -RoleArn
should not be used. Use the dedicatedarn
property instead. -ExternalId
should not be used. Use the dedicatedassumeRoleExternalId
instead. Default: - No additional options.assume_role_external_id (
Optional
[str
]) – External ID to use when assuming the bootstrap role. Default: - No external IDbootstrap_stack_version_ssm_parameter (
Optional
[str
]) – Name of SSM parameter with bootstrap stack version. Default: - Discover SSM parameter by reading stackrequires_bootstrap_stack_version (
Union
[int
,float
,None
]) – Version of bootstrap stack required to use this role. Default: - No bootstrap stack required
Attributes
- arn
The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
- assume_role_additional_options
Additional options to pass to STS when assuming the role.
RoleArn
should not be used. Use the dedicatedarn
property instead.ExternalId
should not be used. Use the dedicatedassumeRoleExternalId
instead.
- Default:
No additional options.
- See:
- assume_role_external_id
External ID to use when assuming the bootstrap role.
- Default:
No external ID
- bootstrap_stack_version_ssm_parameter
Name of SSM parameter with bootstrap stack version.
- Default:
Discover SSM parameter by reading stack
- requires_bootstrap_stack_version
Version of bootstrap stack required to use this role.
- Default:
No bootstrap stack required