Skip to main content

service_action_associations

Creates, updates, deletes or gets a service_action_association resource or lists service_action_associations in a region

Overview

Nameservice_action_associations
TypeResource
DescriptionResource Schema for AWS::ServiceCatalog::ServiceActionAssociation
Idaws.servicecatalog.service_action_associations

Fields

NameDatatypeDescription
product_idstring
provisioning_artifact_idstring
service_action_idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTProductId, ProvisioningArtifactId, ServiceActionId, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all service_action_associations in a region.

SELECT
region,
product_id,
provisioning_artifact_id,
service_action_id
FROM aws.servicecatalog.service_action_associations
WHERE region = 'us-east-1';

Gets all properties from an individual service_action_association.

SELECT
region,
product_id,
provisioning_artifact_id,
service_action_id
FROM aws.servicecatalog.service_action_associations
WHERE region = 'us-east-1' AND data__Identifier = '<ProductId>|<ProvisioningArtifactId>|<ServiceActionId>';

INSERT example

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

/*+ create */
INSERT INTO aws.servicecatalog.service_action_associations (
ProductId,
ProvisioningArtifactId,
ServiceActionId,
region
)
SELECT
'{{ ProductId }}',
'{{ ProvisioningArtifactId }}',
'{{ ServiceActionId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.servicecatalog.service_action_associations
WHERE data__Identifier = '<ProductId|ProvisioningArtifactId|ServiceActionId>'
AND region = 'us-east-1';

Permissions

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

Create

servicecatalog:AssociateServiceActionWithProvisioningArtifact,
servicecatalog:ListServiceActionsForProvisioningArtifact

Read

servicecatalog:ListServiceActionsForProvisioningArtifact

Delete

servicecatalog:DisassociateServiceActionFromProvisioningArtifact,
servicecatalog:ListServiceActionsForProvisioningArtifact

List

servicecatalog:ListServiceActionsForProvisioningArtifact