Skip to content
v2.278.0

Experimental

@aws-cdk/aws-servicecatalogappregistry-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IApplication Interface ​

A Service Catalog AppRegistry Application.

Properties ​

applicationArnstringapplication_arnstrapplicationArnStringApplicationArnstringApplicationArn*string #
The ARN of the application.
applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string #
The ID of the application.
applicationNamemay be undefinedstringapplication_namemay be undefinedstrapplicationNamemay be undefinedStringApplicationNamemay be undefinedstringApplicationNamemay be undefined*string #
The name of the application.
The environment this resource belongs to.
notes

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.

nodeNodenodeNodenodeNodeNodeNodeNodeNode #
The tree node.
stackStackstackStackstackStackStackStackStackStack #
The stack in which this resource is defined.

Methods ​

addAttributeGroup(id: string, attributeGroupProps: AttributeGroupAssociationProps): IAttributeGroupdef add_attribute_group(self, id: str, attribute_group_props: AttributeGroupAssociationProps) -> IAttributeGrouppublic IAttributeGroup addAttributeGroup(String id, AttributeGroupAssociationProps attributeGroupProps)public IAttributeGroup AddAttributeGroup(string id, AttributeGroupAssociationProps attributeGroupProps)func AddAttributeGroup(Id *string, AttributeGroupProps AttributeGroupAssociationProps) IAttributeGroup #
Create an attribute group and associate this application with the created attribute group.
2 parameters

Parameters

  • ididididId — name of the AttributeGroup construct to be created.
  • attributeGroupPropsattribute_group_propsattributeGroupPropsattributeGroupPropsAttributeGroupProps — AppRegistry attribute group props.
applyRemovalPolicy(policy: RemovalPolicy): voiddef apply_removal_policy(self, policy: RemovalPolicy) -> Nonepublic void applyRemovalPolicy(RemovalPolicy policy)public void ApplyRemovalPolicy(RemovalPolicy policy)func ApplyRemovalPolicy(Policy RemovalPolicy) #
Apply the given removal policy to this resource.
notes

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): voiddef associate_all_stacks_in_scope(self, construct: Construct) -> Nonepublic void associateAllStacksInScope(Construct construct)public void AssociateAllStacksInScope(Construct construct)func AssociateAllStacksInScope(Construct Construct) #
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.

1 parameter

Parameters

  • constructconstructconstructconstructConstruct — cdk Construct.
associateApplicationWithStack(stack: Stack): voiddef associate_application_with_stack(self, stack: Stack) -> Nonepublic void associateApplicationWithStack(Stack stack)public void AssociateApplicationWithStack(Stack stack)func AssociateApplicationWithStack(Stack Stack) #
Associate a Cloudformation stack with the application in the given stack.
1 parameter

Parameters

  • stackstackstackstackStack — a CFN stack.
associateAttributeGroup(attributeGroup: IAttributeGroup): voiddef associate_attribute_group(self, attribute_group: IAttributeGroup) -> Nonepublic void associateAttributeGroup(IAttributeGroup attributeGroup)public void AssociateAttributeGroup(IAttributeGroup attributeGroup)func AssociateAttributeGroup(AttributeGroup IAttributeGroup) #
Associate this application with an attribute group.
1 parameter

Parameters

  • attributeGroupattribute_groupattributeGroupattributeGroupAttributeGroup — AppRegistry attribute group.
associateStack(stack: Stack): voiddef associate_stack(self, stack: Stack) -> Nonepublic void associateStack(Stack stack)public void AssociateStack(Stack stack)func AssociateStack(Stack Stack) deprecated #
Use `associateApplicationWithStack` instead.
1 parameter

Parameters

  • stackstackstackstackStack — a CFN stack.
shareApplication(id: string, shareOptions: ShareOptions): voiddef share_application(self, id: str, share_options: ShareOptions) -> Nonepublic void shareApplication(String id, ShareOptions shareOptions)public void ShareApplication(string id, ShareOptions shareOptions)func ShareApplication(Id *string, ShareOptions ShareOptions) #
Share this application with other IAM entities, accounts, or OUs.
2 parameters

Parameters

  • ididididId — The construct name for the share.
  • shareOptionsshare_optionsshareOptionsshareOptionsShareOptions — The options for the share.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func 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.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining