Skip to main content

extension_associations

Creates, updates, deletes or gets an extension_association resource or lists extension_associations in a region

Overview

Nameextension_associations
TypeResource
DescriptionAn example resource schema demonstrating some basic constructs and validation rules.
Idaws.appconfig.extension_associations

Fields

NameDatatypeDescription
idstring
arnstring
extension_arnstring
resource_arnstring
extension_identifierstring
resource_identifierstring
extension_version_numberinteger
parametersobject
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all extension_associations in a region.

SELECT
region,
id,
arn,
extension_arn,
resource_arn,
extension_identifier,
resource_identifier,
extension_version_number,
parameters,
tags
FROM aws.appconfig.extension_associations
WHERE region = 'us-east-1';

Gets all properties from an individual extension_association.

SELECT
region,
id,
arn,
extension_arn,
resource_arn,
extension_identifier,
resource_identifier,
extension_version_number,
parameters,
tags
FROM aws.appconfig.extension_associations
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.appconfig.extension_associations (
ExtensionIdentifier,
ResourceIdentifier,
ExtensionVersionNumber,
Parameters,
Tags,
region
)
SELECT
'{{ ExtensionIdentifier }}',
'{{ ResourceIdentifier }}',
'{{ ExtensionVersionNumber }}',
'{{ Parameters }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

appconfig:CreateExtensionAssociation,
appconfig:TagResource

Read

appconfig:GetExtensionAssociation

Update

appconfig:UpdateExtensionAssociation,
appconfig:TagResource,
appconfig:UntagResource

Delete

appconfig:DeleteExtensionAssociation,
appconfig:UntagResource

List

appconfig:ListExtensionAssociations