ApplicationAssociatorProps

class aws_cdk.aws_servicecatalogappregistry_alpha.ApplicationAssociatorProps(*, applications)

Bases: object

(experimental) Properties for Service Catalog AppRegistry Application Associator.

Parameters:

applications (Sequence[TargetApplication]) – (experimental) Application associator properties. Default: - Empty array.

Stability:

experimental

ExampleMetadata:

infused

Example:

import aws_cdk as cdk


app = App()

associated_app = appreg.ApplicationAssociator(app, "AssociatedApplication",
    applications=[appreg.TargetApplication.create_application_stack(
        application_name="MyAssociatedApplication",
        # 'Application containing stacks deployed via CDK.' is the default
        application_description="Associated Application description",
        stack_name="MyAssociatedApplicationStack",
        # AWS Account and Region that are implied by the current CLI configuration is the default
        env=cdk.Environment(account="123456789012", region="us-east-1")
    )]
)

# Associate application to the attribute group.
associated_app.app_registry_application.add_attribute_group("MyAttributeGroup",
    attribute_group_name="MyAttributeGroupName",
    description="Test attribute group",
    attributes={}
)

Attributes

applications

(experimental) Application associator properties.

Default:
  • Empty array.

Stability:

experimental