extension_associations
Creates, updates, deletes or gets an extension_association
resource or lists extension_associations
in a region
Overview
Name | extension_associations |
Type | Resource |
Description | An example resource schema demonstrating some basic constructs and validation rules. |
Id | aws.appconfig.extension_associations |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
arn | string | |
extension_arn | string | |
resource_arn | string | |
extension_identifier | string | |
resource_identifier | string | |
extension_version_number | integer | |
parameters | object | |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | 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 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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.appconfig.extension_associations (
ExtensionIdentifier,
ResourceIdentifier,
ExtensionVersionNumber,
Parameters,
Tags,
region
)
SELECT
'{{ ExtensionIdentifier }}',
'{{ ResourceIdentifier }}',
'{{ ExtensionVersionNumber }}',
'{{ Parameters }}',
'{{ Tags }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.appconfig.extension_associations (
ExtensionIdentifier,
ResourceIdentifier,
ExtensionVersionNumber,
Parameters,
Tags,
region
)
SELECT
'{{ ExtensionIdentifier }}',
'{{ ResourceIdentifier }}',
'{{ ExtensionVersionNumber }}',
'{{ Parameters }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: extension_association
props:
- name: ExtensionIdentifier
value: '{{ ExtensionIdentifier }}'
- name: ResourceIdentifier
value: '{{ ResourceIdentifier }}'
- name: ExtensionVersionNumber
value: '{{ ExtensionVersionNumber }}'
- name: Parameters
value: {}
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
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