Interface BootstrapRole

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    BootstrapRole.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
               date="2026-07-30T08:06:26.682Z")
    @Stability(Stable)
    public interface BootstrapRole
    extends software.amazon.jsii.JsiiSerializable
    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 software.amazon.awscdk.cloudassembly.schema.*;
     Object assumeRoleAdditionalOptions;
     BootstrapRole bootstrapRole = BootstrapRole.builder()
             .arn("arn")
             // the properties below are optional
             .assumeRoleAdditionalOptions(Map.of(
                     "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
             .assumeRoleExternalId("assumeRoleExternalId")
             .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter")
             .requiresBootstrapStackVersion(123)
             .build();
     
    • Method Detail

      • getArn

        @Stability(Stable)
        @NotNull
        String getArn()
        The ARN of the IAM role created as part of bootrapping e.g. lookupRoleArn.
      • getAssumeRoleExternalId

        @Stability(Stable)
        @Nullable
        default String getAssumeRoleExternalId()
        External ID to use when assuming the bootstrap role.

        Default: - No external ID

      • getBootstrapStackVersionSsmParameter

        @Stability(Stable)
        @Nullable
        default String getBootstrapStackVersionSsmParameter()
        Name of SSM parameter with bootstrap stack version.

        Default: - Discover SSM parameter by reading stack

      • getRequiresBootstrapStackVersion

        @Stability(Stable)
        @Nullable
        default Number getRequiresBootstrapStackVersion()
        Version of bootstrap stack required to use this role.

        Default: - No bootstrap stack required