Interface DefaultStagingStackProps

All Superinterfaces:
DefaultStagingStackOptions, software.amazon.jsii.JsiiSerializable, StackProps
All Known Implementing Classes:
DefaultStagingStackProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-05-20T23:53:05.689Z") @Stability(Experimental) public interface DefaultStagingStackProps extends software.amazon.jsii.JsiiSerializable, DefaultStagingStackOptions, StackProps
(experimental) Default Staging Stack Properties.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.app.staging.synthesizer.alpha.*;
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.s3.*;
 BootstrapRole bootstrapRole;
 PermissionsBoundary permissionsBoundary;
 IPropertyInjector propertyInjector;
 StackSynthesizer stackSynthesizer;
 DefaultStagingStackProps defaultStagingStackProps = DefaultStagingStackProps.builder()
         .appId("appId")
         .qualifier("qualifier")
         .stagingBucketEncryption(BucketEncryption.UNENCRYPTED)
         // the properties below are optional
         .analyticsReporting(false)
         .autoDeleteStagingAssets(false)
         .crossRegionReferences(false)
         .deployRoleArn("deployRoleArn")
         .deployTimeFileAssetLifetime(Duration.minutes(30))
         .description("description")
         .env(Environment.builder()
                 .account("account")
                 .region("region")
                 .build())
         .fileAssetPublishingRole(bootstrapRole)
         .imageAssetPublishingRole(bootstrapRole)
         .imageAssetVersionCount(123)
         .notificationArns(List.of("notificationArns"))
         .permissionsBoundary(permissionsBoundary)
         .propertyInjectors(List.of(propertyInjector))
         .stackName("stackName")
         .stagingBucketName("stagingBucketName")
         .stagingStackNamePrefix("stagingStackNamePrefix")
         .suppressTemplateIndentation(false)
         .synthesizer(stackSynthesizer)
         .tags(Map.of(
                 "tagsKey", "tags"))
         .terminationProtection(false)
         .build();
 
  • Method Details

    • getQualifier

      @Stability(Experimental) @NotNull String getQualifier()
      (experimental) The qualifier used to specialize strings.

      Shouldn't be necessary but who knows what people might do.

    • getDeployRoleArn

      @Stability(Experimental) @Nullable default String getDeployRoleArn()
      (experimental) The ARN of the deploy action role, if given.

      This role will need permissions to read from to the staging resources.

      Default: - The CLI credentials are assumed, no additional permissions are granted.

    • builder

      @Stability(Experimental) static DefaultStagingStackProps.Builder builder()
      Returns:
      a DefaultStagingStackProps.Builder of DefaultStagingStackProps