Skip to main content

extensions

Creates, updates, deletes or gets an extension resource or lists extensions in a region

Overview

Nameextensions
TypeResource
DescriptionResource Type definition for AWS::AppConfig::Extension
Idaws.appconfig.extensions

Fields

NameDatatypeDescription
idstring
arnstring
version_numberinteger
namestringName of the extension.
descriptionstringDescription of the extension.
actionsobject
parametersobject
latest_version_numberinteger
tagsarrayAn array of key-value tags to apply to this resource.
regionstringAWS region.

Methods

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

SELECT examples

Gets all extensions in a region.

SELECT
region,
id,
arn,
version_number,
name,
description,
actions,
parameters,
latest_version_number,
tags
FROM aws.appconfig.extensions
WHERE region = 'us-east-1';

Gets all properties from an individual extension.

SELECT
region,
id,
arn,
version_number,
name,
description,
actions,
parameters,
latest_version_number,
tags
FROM aws.appconfig.extensions
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.appconfig.extensions (
Name,
Actions,
region
)
SELECT
'{{ Name }}',
'{{ Actions }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

appconfig:CreateExtension,
appconfig:TagResource,
iam:PassRole

Read

appconfig:GetExtension

Update

appconfig:UpdateExtension,
appconfig:TagResource,
appconfig:UntagResource

Delete

appconfig:DeleteExtension,
appconfig:UntagResource

List

appconfig:ListExtensions