> **Experimental**
>
> `@aws-cdk/aws-servicecatalogappregistry-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# IApplication

A Service Catalog AppRegistry Application.

Extends: [IResource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResource.html)
Implemented by: [Application](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-servicecatalogappregistry-alpha.Application.html)
Obtainable from: [Application.fromApplicationArn](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-servicecatalogappregistry-alpha.Application.html#fromapplicationarn)
Used as argument in: [IAttributeGroup.associateWith](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-servicecatalogappregistry-alpha.IAttributeGroup.html#associatewith)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/application.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-servicecatalogappregistry-alpha/lib/application.ts#L44)

## Properties

- `applicationArn`: string — The ARN of the application.

- `applicationId`: string — The ID of the application.

- `applicationName`: string — The name of the application.

- `env`: [ResourceEnvironment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html) — The environment this resource belongs to.

  For resources that are created and managed in a Stack (those created by
  creating new class instances like `new Role()`, `new Bucket()`, etc.), this
  is always the same as the environment of the stack they belong to.

  For referenced resources (those obtained from referencing methods like
  `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
  different than the stack they were imported into.

- `node`: [Node](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Node.html) — The tree node.

- `stack`: [Stack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html) — The stack in which this resource is defined.

## Methods

- `addAttributeGroup(id: string, attributeGroupProps: AttributeGroupAssociationProps): IAttributeGroup` — Create an attribute group and associate this application with the created attribute group.

  **Parameters**

  - `id` — name of the AttributeGroup construct to be created.
  - `attributeGroupProps` — AppRegistry attribute group props.

- `applyRemovalPolicy(policy: RemovalPolicy): void` — 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`).

- `associateAllStacksInScope(construct: Construct): void` — 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.

  **Parameters**

  - `construct` — cdk Construct.

- `associateApplicationWithStack(stack: Stack): void` — Associate a Cloudformation stack with the application in the given stack.

  **Parameters**

  - `stack` — a CFN stack.

- `associateAttributeGroup(attributeGroup: IAttributeGroup): void` — Associate this application with an attribute group.

  **Parameters**

  - `attributeGroup` — AppRegistry attribute group.

- `associateStack(stack: Stack): void` — Use `associateApplicationWithStack` instead.

  **Parameters**

  - `stack` — a CFN stack.

- `shareApplication(id: string, shareOptions: ShareOptions): void` — Share this application with other IAM entities, accounts, or OUs.

  **Parameters**

  - `id` — The construct name for the share.
  - `shareOptions` — The options for the share.

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.

  **Parameters**

  - `mixins` — The mixins to apply.

  **Returns:** This construct for chaining
