service_action_associations
Creates, updates, deletes or gets a service_action_association resource or lists service_action_associations in a region
Overview
| Name | service_action_associations |
| Type | Resource |
| Description | Resource Schema for AWS::ServiceCatalog::ServiceActionAssociation |
| Id | awscc.servicecatalog.service_action_associations |
Fields
- get (all properties)
- list (identifiers only)
| Name | Datatype | Description |
|---|---|---|
product_id | string | |
provisioning_artifact_id | string | |
service_action_id | string | |
region | string | AWS region. |
| Name | Datatype | Description |
|---|---|---|
product_id | string | |
provisioning_artifact_id | string | |
service_action_id | string | |
region | string | AWS region. |
For more information, see AWS::ServiceCatalog::ServiceActionAssociation.
Methods
| Name | Resource | Accessible by | Required Params |
|---|---|---|---|
create_resource | service_action_associations | INSERT | ProductId, ProvisioningArtifactId, ServiceActionId, region |
delete_resource | service_action_associations | DELETE | Identifier, region |
list_resources | service_action_associations_list_only | SELECT | region |
get_resource | service_action_associations | SELECT | Identifier, region |
SELECT examples
- get (all properties)
- list (identifiers only)
Gets all properties from an individual service_action_association.
SELECT
region,
product_id,
provisioning_artifact_id,
service_action_id
FROM awscc.servicecatalog.service_action_associations
WHERE
region = 'us-east-1' AND
Identifier = '{{ product_id }}|{{ provisioning_artifact_id }}|{{ service_action_id }}';
Lists all service_action_associations in a region.
SELECT
region,
product_id,
provisioning_artifact_id,
service_action_id
FROM awscc.servicecatalog.service_action_associations_list_only
WHERE
region = 'us-east-1';
INSERT example
Use the following StackQL query and manifest file to create a new service_action_association resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.servicecatalog.service_action_associations (
ProductId,
ProvisioningArtifactId,
ServiceActionId,
region
)
SELECT
'{{ product_id }}',
'{{ provisioning_artifact_id }}',
'{{ service_action_id }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.servicecatalog.service_action_associations (
ProductId,
ProvisioningArtifactId,
ServiceActionId,
region
)
SELECT
'{{ product_id }}',
'{{ provisioning_artifact_id }}',
'{{ service_action_id }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: service_action_association
props:
- name: product_id
value: '{{ product_id }}'
- name: provisioning_artifact_id
value: '{{ provisioning_artifact_id }}'
- name: service_action_id
value: '{{ service_action_id }}'
DELETE example
/*+ delete */
DELETE FROM awscc.servicecatalog.service_action_associations
WHERE
Identifier = '{{ product_id }}|{{ provisioning_artifact_id }}|{{ service_action_id }}' AND
region = 'us-east-1';
Permissions
To operate on the service_action_associations resource, the following permissions are required:
- Create
- Read
- Delete
- List
servicecatalog:AssociateServiceActionWithProvisioningArtifact,
servicecatalog:ListServiceActionsForProvisioningArtifact
servicecatalog:ListServiceActionsForProvisioningArtifact
servicecatalog:DisassociateServiceActionFromProvisioningArtifact,
servicecatalog:ListServiceActionsForProvisioningArtifact
servicecatalog:ListServiceActionsForProvisioningArtifact