Skip to main content

application_entitlement_associations

Creates, updates, deletes or gets an application_entitlement_association resource or lists application_entitlement_associations in a region

Overview

Nameapplication_entitlement_associations
TypeResource
DescriptionResource Type definition for AWS::AppStream::ApplicationEntitlementAssociation
Idaws.appstream.application_entitlement_associations

Fields

NameDatatypeDescription
stack_namestring
entitlement_namestring
application_identifierstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTStackName, EntitlementName, ApplicationIdentifier, region
delete_resourceDELETEdata__Identifier, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual application_entitlement_association.

SELECT
region,
stack_name,
entitlement_name,
application_identifier
FROM aws.appstream.application_entitlement_associations
WHERE region = 'us-east-1' AND data__Identifier = '<StackName>|<EntitlementName>|<ApplicationIdentifier>';

INSERT example

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

/*+ create */
INSERT INTO aws.appstream.application_entitlement_associations (
StackName,
EntitlementName,
ApplicationIdentifier,
region
)
SELECT
'{{ StackName }}',
'{{ EntitlementName }}',
'{{ ApplicationIdentifier }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.appstream.application_entitlement_associations
WHERE data__Identifier = '<StackName|EntitlementName|ApplicationIdentifier>'
AND region = 'us-east-1';

Permissions

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

Create

appstream:AssociateApplicationToEntitlement,
appstream:ListEntitledApplications

Read

appstream:ListEntitledApplications

Delete

appstream:DisassociateApplicationFromEntitlement,
appstream:ListEntitledApplications