Interface CreateTargetApplicationOptions

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.894Z") @Stability(Experimental) public interface CreateTargetApplicationOptions extends software.amazon.jsii.JsiiSerializable, TargetApplicationCommonOptions
(experimental) Properties used to define New TargetApplication.

Example:

 import software.amazon.awscdk.*;
 App app = new App();
 ApplicationAssociator associatedApp = ApplicationAssociator.Builder.create(app, "AssociatedApplication")
         .applications(List.of(TargetApplication.createApplicationStack(CreateTargetApplicationOptions.builder()
                 .applicationName("MyAssociatedApplication")
                 // 'Application containing stacks deployed via CDK.' is the default
                 .applicationDescription("Associated Application description")
                 .stackName("MyAssociatedApplicationStack")
                 // AWS Account and Region that are implied by the current CLI configuration is the default
                 .env(Environment.builder().account("123456789012").region("us-east-1").build())
                 .build())))
         .build();
 // Associate application to the attribute group.
 associatedApp.appRegistryApplication.addAttributeGroup("MyAttributeGroup", AttributeGroupAssociationProps.builder()
         .attributeGroupName("MyAttributeGroupName")
         .description("Test attribute group")
         .attributes(Map.of())
         .build());
 
  • Method Details

    • getApplicationName

      @Stability(Experimental) @NotNull String getApplicationName()
      (experimental) Enforces a particular physical application name.
    • getApplicationDescription

      @Stability(Experimental) @Nullable default String getApplicationDescription()
      (experimental) Application description.

      Default: - Application containing stacks deployed via CDK.

    • getEmitApplicationManagerUrlAsOutput

      @Stability(Experimental) @Nullable default Boolean getEmitApplicationManagerUrlAsOutput()
      (experimental) Whether create cloudFormation Output for application manager URL.

      Default: - true

    • builder

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