extensions
Creates, updates, deletes or gets an extension
resource or lists extensions
in a region
Overview
Name | extensions |
Type | Resource |
Description | Resource Type definition for AWS::AppConfig::Extension |
Id | aws.appconfig.extensions |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
arn | string | |
version_number | integer | |
name | string | Name of the extension. |
description | string | Description of the extension. |
actions | object | |
parameters | object | |
latest_version_number | integer | |
tags | array | An array of key-value tags to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, Actions, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.appconfig.extensions (
Name,
Actions,
region
)
SELECT
'{{ Name }}',
'{{ Actions }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.appconfig.extensions (
Name,
Description,
Actions,
Parameters,
LatestVersionNumber,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ Actions }}',
'{{ Parameters }}',
'{{ LatestVersionNumber }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: extension
props:
- name: Name
value: '{{ Name }}'
- name: Description
value: '{{ Description }}'
- name: Actions
value: {}
- name: Parameters
value: {}
- name: LatestVersionNumber
value: '{{ LatestVersionNumber }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
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