Skip to main content

attribute_groups

Creates, updates, deletes or gets an attribute_group resource or lists attribute_groups in a region

Overview

Nameattribute_groups
TypeResource
DescriptionResource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroup.
Idaws.servicecatalogappregistry.attribute_groups

Fields

NameDatatypeDescription
idstring
arnstring
namestringThe name of the attribute group.
descriptionstringThe description of the attribute group.
attributesobject
tagsobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Attributes, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all attribute_groups in a region.

SELECT
region,
id,
arn,
name,
description,
attributes,
tags
FROM aws.servicecatalogappregistry.attribute_groups
WHERE region = 'us-east-1';

Gets all properties from an individual attribute_group.

SELECT
region,
id,
arn,
name,
description,
attributes,
tags
FROM aws.servicecatalogappregistry.attribute_groups
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.servicecatalogappregistry.attribute_groups (
Name,
Attributes,
region
)
SELECT
'{{ Name }}',
'{{ Attributes }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.servicecatalogappregistry.attribute_groups
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

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

Create

servicecatalog:CreateAttributeGroup,
servicecatalog:TagResource

Read

servicecatalog:GetAttributeGroup

Update

servicecatalog:GetAttributeGroup,
servicecatalog:UpdateAttributeGroup,
servicecatalog:ListTagsForResource,
servicecatalog:TagResource,
servicecatalog:UntagResource

Delete

servicecatalog:DeleteAttributeGroup

List

servicecatalog:ListAttributeGroups