Interface IApplication.Jsii$Default

All Superinterfaces:
IApplication, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IResource, IResource.Jsii$Default,
All Known Implementing Classes:
Enclosing interface:

@Internal public static interface IApplication.Jsii$Default extends IApplication, IResource.Jsii$Default
Internal default implementation for IApplication.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
      Specified by:
      getNode in interface IResource.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IResource
      Specified by:
      getEnv in interface IResource.Jsii$Default
    • getStack

      @Stability(Stable) @NotNull default Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IResource
      Specified by:
      getStack in interface IResource.Jsii$Default
    • getApplicationArn

      @Stability(Experimental) @NotNull default String getApplicationArn()
      (experimental) The ARN of the application.
      Specified by:
      getApplicationArn in interface IApplication
    • getApplicationId

      @Stability(Experimental) @NotNull default String getApplicationId()
      (experimental) The ID of the application.
      Specified by:
      getApplicationId in interface IApplication
    • getApplicationName

      @Stability(Experimental) @Nullable default String getApplicationName()
      (experimental) The name of the application.
      Specified by:
      getApplicationName in interface IApplication
    • applyRemovalPolicy

      @Stability(Stable) default void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      Apply the given removal policy to this resource.

      The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

      The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

      Specified by:
      applyRemovalPolicy in interface IResource
      Specified by:
      applyRemovalPolicy in interface IResource.Jsii$Default
      policy - This parameter is required.
    • addAttributeGroup

      @Stability(Experimental) @NotNull default IAttributeGroup addAttributeGroup(@NotNull String id, @NotNull AttributeGroupAssociationProps attributeGroupProps)
      (experimental) Create an attribute group and associate this application with the created attribute group.

      Specified by:
      addAttributeGroup in interface IApplication
      id - name of the AttributeGroup construct to be created. This parameter is required.
      attributeGroupProps - AppRegistry attribute group props. This parameter is required.
    • associateAllStacksInScope

      @Stability(Experimental) default void associateAllStacksInScope(@NotNull software.constructs.Construct construct)
      (experimental) Associate this application with all stacks under the construct node.

      NOTE: This method won't automatically register stacks under pipeline stages, and requires association of each pipeline stage by calling this method with stage Construct.

      Specified by:
      associateAllStacksInScope in interface IApplication
      construct - cdk Construct. This parameter is required.
    • associateApplicationWithStack

      @Stability(Experimental) default void associateApplicationWithStack(@NotNull Stack stack)
      (experimental) Associate a Cloudformation statck with the application in the given stack.

      Specified by:
      associateApplicationWithStack in interface IApplication
      stack - a CFN stack. This parameter is required.
    • associateAttributeGroup

      @Stability(Experimental) default void associateAttributeGroup(@NotNull IAttributeGroup attributeGroup)
      (experimental) Associate this application with an attribute group.

      Specified by:
      associateAttributeGroup in interface IApplication
      attributeGroup - AppRegistry attribute group. This parameter is required.
    • associateStack

      @Stability(Deprecated) @Deprecated default void associateStack(@NotNull Stack stack)
      Use associateApplicationWithStack instead.
      (deprecated) Associate this application with a CloudFormation stack.

      Specified by:
      associateStack in interface IApplication
      stack - a CFN stack. This parameter is required.
    • shareApplication

      @Stability(Experimental) default void shareApplication(@NotNull String id, @NotNull ShareOptions shareOptions)
      (experimental) Share this application with other IAM entities, accounts, or OUs.

      Specified by:
      shareApplication in interface IApplication
      id - The construct name for the share. This parameter is required.
      shareOptions - The options for the share. This parameter is required.