application_entitlement_associations
Creates, updates, deletes or gets an application_entitlement_association resource or lists application_entitlement_associations in a region
Overview
| Name | application_entitlement_associations |
| Type | Resource |
| Description | Resource Type definition for AWS::AppStream::ApplicationEntitlementAssociation |
| Id | awscc.appstream.application_entitlement_associations |
Fields
| Name | Datatype | Description |
|---|---|---|
stack_name | string | |
entitlement_name | string | |
application_identifier | string | |
region | string | AWS region. |
For more information, see AWS::AppStream::ApplicationEntitlementAssociation.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | StackName, EntitlementName, ApplicationIdentifier, region |
delete_resource | DELETE | Identifier, region |
get_resource | SELECT | Identifier, region |
SELECT examples
Gets all properties from an individual application_entitlement_association.
SELECT
region,
stack_name,
entitlement_name,
application_identifier
FROM awscc.appstream.application_entitlement_associations
WHERE
region = 'us-east-1' AND
Identifier = '{{ stack_name }}|{{ entitlement_name }}|{{ application_identifier }}';
INSERT example
Use the following StackQL query and manifest file to create a new application_entitlement_association resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.appstream.application_entitlement_associations (
StackName,
EntitlementName,
ApplicationIdentifier,
region
)
SELECT
'{{ stack_name }}',
'{{ entitlement_name }}',
'{{ application_identifier }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.appstream.application_entitlement_associations (
StackName,
EntitlementName,
ApplicationIdentifier,
region
)
SELECT
'{{ stack_name }}',
'{{ entitlement_name }}',
'{{ application_identifier }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: application_entitlement_association
props:
- name: stack_name
value: '{{ stack_name }}'
- name: entitlement_name
value: '{{ entitlement_name }}'
- name: application_identifier
value: '{{ application_identifier }}'
DELETE example
/*+ delete */
DELETE FROM awscc.appstream.application_entitlement_associations
WHERE
Identifier = '{{ stack_name }}|{{ entitlement_name }}|{{ application_identifier }}' AND
region = 'us-east-1';
Permissions
To operate on the application_entitlement_associations resource, the following permissions are required:
- Create
- Read
- Delete
appstream:AssociateApplicationToEntitlement,
appstream:ListEntitledApplications
appstream:ListEntitledApplications
appstream:DisassociateApplicationFromEntitlement,
appstream:ListEntitledApplications