Interface TargetApplicationCommonOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, StackProps
All Known Subinterfaces:
CreateTargetApplicationOptions, ExistingTargetApplicationOptions
All Known Implementing Classes:
CreateTargetApplicationOptions.Jsii$Proxy, ExistingTargetApplicationOptions.Jsii$Proxy, TargetApplicationCommonOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-30T01:25:20.420Z") @Stability(Experimental) public interface TargetApplicationCommonOptions extends software.amazon.jsii.JsiiSerializable, StackProps
(experimental) Properties used to define targetapplication.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.servicecatalogappregistry.alpha.*;
 import software.amazon.awscdk.*;
 PermissionsBoundary permissionsBoundary;
 StackSynthesizer stackSynthesizer;
 TargetApplicationCommonOptions targetApplicationCommonOptions = TargetApplicationCommonOptions.builder()
         .analyticsReporting(false)
         .associateCrossAccountStacks(false)
         .crossRegionReferences(false)
         .description("description")
         .env(Environment.builder()
                 .account("account")
                 .region("region")
                 .build())
         .permissionsBoundary(permissionsBoundary)
         .stackId("stackId")
         .stackName("stackName")
         .suppressTemplateIndentation(false)
         .synthesizer(stackSynthesizer)
         .tags(Map.of(
                 "tagsKey", "tags"))
         .terminationProtection(false)
         .build();
 
  • Method Details

    • getAssociateCrossAccountStacks

      @Stability(Experimental) @Nullable default Boolean getAssociateCrossAccountStacks()
      (experimental) Determines whether any cross-account stacks defined in the CDK app definition should be associated with the target application.

      If set to true, the application will first be shared with the accounts that own the stacks.

      Default: - false

    • getStackId

      @Stability(Deprecated) @Deprecated @Nullable default String getStackId()
      Deprecated.
      • Use stackName instead to control the name and id of the stack
      (deprecated) Stack ID in which application will be created or imported.

      The id of a stack is also the identifier that you use to refer to it in the AWS CDK Toolkit.

      Default: - The value of `stackName` will be used as stack id

    • builder

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