java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.servicecatalogappregistry.alpha.TargetApplication
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:16.069Z") @Stability(Experimental) public abstract class TargetApplication extends software.amazon.jsii.JsiiObject
(experimental) Contains static factory methods with which you can build the input needed for application associator to work.

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());
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    TargetApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    TargetApplication(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(software.constructs.Construct scope)
    (experimental) Called when the ApplicationAssociator is initialized.
    (experimental) Factory method to build the input using the provided application name and stack props.
    (experimental) Factory method to build the input using the provided application ARN.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • TargetApplication

      protected TargetApplication(software.amazon.jsii.JsiiObjectRef objRef)
    • TargetApplication

      protected TargetApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • TargetApplication

      @Stability(Experimental) protected TargetApplication()
  • Method Details

    • createApplicationStack

      @Stability(Experimental) @NotNull public static TargetApplication createApplicationStack(@NotNull CreateTargetApplicationOptions options)
      (experimental) Factory method to build the input using the provided application name and stack props.

      Parameters:
      options - This parameter is required.
    • existingApplicationFromArn

      @Stability(Experimental) @NotNull public static TargetApplication existingApplicationFromArn(@NotNull ExistingTargetApplicationOptions options)
      (experimental) Factory method to build the input using the provided application ARN.

      Parameters:
      options - This parameter is required.
    • bind

      @Stability(Experimental) @NotNull public abstract BindTargetApplicationResult bind(@NotNull software.constructs.Construct scope)
      (experimental) Called when the ApplicationAssociator is initialized.

      Parameters:
      scope - This parameter is required.