cloud_formation_provisioned_products
Creates, updates, deletes or gets a cloud_formation_provisioned_product
resource or lists cloud_formation_provisioned_products
in a region
Overview
Name | cloud_formation_provisioned_products |
Type | Resource |
Description | Resource Schema for AWS::ServiceCatalog::CloudFormationProvisionedProduct |
Id | aws.servicecatalog.cloud_formation_provisioned_products |
Fields
Name | Datatype | Description |
---|---|---|
accept_language | string | |
notification_arns | array | |
path_id | string | |
path_name | string | |
product_id | string | |
product_name | string | |
provisioned_product_name | string | |
provisioning_artifact_id | string | |
provisioning_artifact_name | string | |
provisioning_parameters | array | |
provisioning_preferences | object | |
tags | array | |
provisioned_product_id | string | |
record_id | string | |
cloudformation_stack_arn | string | |
outputs | object | List of key-value pair outputs. |
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 |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all properties from an individual cloud_formation_provisioned_product
.
SELECT
region,
accept_language,
notification_arns,
path_id,
path_name,
product_id,
product_name,
provisioned_product_name,
provisioning_artifact_id,
provisioning_artifact_name,
provisioning_parameters,
provisioning_preferences,
tags,
provisioned_product_id,
record_id,
cloudformation_stack_arn,
outputs
FROM aws.servicecatalog.cloud_formation_provisioned_products
WHERE region = 'us-east-1' AND data__Identifier = '<ProvisionedProductId>';
INSERT
example
Use the following StackQL query and manifest file to create a new cloud_formation_provisioned_product
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.servicecatalog.cloud_formation_provisioned_products (
AcceptLanguage,
NotificationArns,
PathId,
PathName,
ProductId,
ProductName,
ProvisionedProductName,
ProvisioningArtifactId,
ProvisioningArtifactName,
ProvisioningParameters,
ProvisioningPreferences,
Tags,
region
)
SELECT
'{{ AcceptLanguage }}',
'{{ NotificationArns }}',
'{{ PathId }}',
'{{ PathName }}',
'{{ ProductId }}',
'{{ ProductName }}',
'{{ ProvisionedProductName }}',
'{{ ProvisioningArtifactId }}',
'{{ ProvisioningArtifactName }}',
'{{ ProvisioningParameters }}',
'{{ ProvisioningPreferences }}',
'{{ Tags }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.servicecatalog.cloud_formation_provisioned_products (
AcceptLanguage,
NotificationArns,
PathId,
PathName,
ProductId,
ProductName,
ProvisionedProductName,
ProvisioningArtifactId,
ProvisioningArtifactName,
ProvisioningParameters,
ProvisioningPreferences,
Tags,
region
)
SELECT
'{{ AcceptLanguage }}',
'{{ NotificationArns }}',
'{{ PathId }}',
'{{ PathName }}',
'{{ ProductId }}',
'{{ ProductName }}',
'{{ ProvisionedProductName }}',
'{{ ProvisioningArtifactId }}',
'{{ ProvisioningArtifactName }}',
'{{ ProvisioningParameters }}',
'{{ ProvisioningPreferences }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: cloud_formation_provisioned_product
props:
- name: AcceptLanguage
value: '{{ AcceptLanguage }}'
- name: NotificationArns
value:
- '{{ NotificationArns[0] }}'
- name: PathId
value: '{{ PathId }}'
- name: PathName
value: '{{ PathName }}'
- name: ProductId
value: '{{ ProductId }}'
- name: ProductName
value: '{{ ProductName }}'
- name: ProvisionedProductName
value: '{{ ProvisionedProductName }}'
- name: ProvisioningArtifactId
value: '{{ ProvisioningArtifactId }}'
- name: ProvisioningArtifactName
value: '{{ ProvisioningArtifactName }}'
- name: ProvisioningParameters
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
- name: ProvisioningPreferences
value:
StackSetAccounts:
- '{{ StackSetAccounts[0] }}'
StackSetFailureToleranceCount: '{{ StackSetFailureToleranceCount }}'
StackSetFailureTolerancePercentage: '{{ StackSetFailureTolerancePercentage }}'
StackSetMaxConcurrencyCount: '{{ StackSetMaxConcurrencyCount }}'
StackSetMaxConcurrencyPercentage: '{{ StackSetMaxConcurrencyPercentage }}'
StackSetOperationType: '{{ StackSetOperationType }}'
StackSetRegions:
- '{{ StackSetRegions[0] }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.servicecatalog.cloud_formation_provisioned_products
WHERE data__Identifier = '<ProvisionedProductId>'
AND region = 'us-east-1';
Permissions
To operate on the cloud_formation_provisioned_products
resource, the following permissions are required:
Create
*
Read
*
Update
*
Delete
*