Skip to main content

attribute_group_associations

Creates, updates, deletes or gets an attribute_group_association resource or lists attribute_group_associations in a region

Overview

Nameattribute_group_associations
TypeResource
DescriptionResource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation.
Idaws.servicecatalogappregistry.attribute_group_associations

Fields

NameDatatypeDescription
applicationstringThe name or the Id of the Application.
attribute_groupstringThe name or the Id of the AttributeGroup.
application_arnstring
attribute_group_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTApplication, AttributeGroup, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all attribute_group_associations in a region.

SELECT
region,
application,
attribute_group,
application_arn,
attribute_group_arn
FROM aws.servicecatalogappregistry.attribute_group_associations
WHERE region = 'us-east-1';

Gets all properties from an individual attribute_group_association.

SELECT
region,
application,
attribute_group,
application_arn,
attribute_group_arn
FROM aws.servicecatalogappregistry.attribute_group_associations
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationArn>|<AttributeGroupArn>';

INSERT example

Use the following StackQL query and manifest file to create a new attribute_group_association resource, using stack-deploy.

/*+ create */
INSERT INTO aws.servicecatalogappregistry.attribute_group_associations (
Application,
AttributeGroup,
region
)
SELECT
'{{ Application }}',
'{{ AttributeGroup }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.servicecatalogappregistry.attribute_group_associations
WHERE data__Identifier = '<ApplicationArn|AttributeGroupArn>'
AND region = 'us-east-1';

Permissions

To operate on the attribute_group_associations resource, the following permissions are required:

Create

servicecatalog:AssociateAttributeGroup

Read

servicecatalog:ListAttributeGroupsForApplication

Delete

servicecatalog:DisassociateAttributeGroup

List

servicecatalog:ListAttributeGroupsForApplication