AttributeGroupAssociationProps

class aws_cdk.aws_servicecatalogappregistry_alpha.AttributeGroupAssociationProps(*, attribute_group_name, attributes, description=None)

Bases: object

(experimental) Properties for a Service Catalog AppRegistry Attribute Group.

Parameters:
  • attribute_group_name (str) – (experimental) Name for attribute group.

  • attributes (Mapping[str, Any]) – (experimental) A JSON of nested key-value pairs that represent the attributes in the group. Attributes maybe an empty JSON ‘{}’, but must be explicitly stated.

  • description (Optional[str]) – (experimental) Description for attribute group. Default: - No description provided

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

attribute_group_name

(experimental) Name for attribute group.

Stability:

experimental

attributes

(experimental) A JSON of nested key-value pairs that represent the attributes in the group.

Attributes maybe an empty JSON ‘{}’, but must be explicitly stated.

Stability:

experimental

description

(experimental) Description for attribute group.

Default:
  • No description provided

Stability:

experimental