ServiceCatalog.Client.
create_provisioned_product_plan
(**kwargs)¶Creates a plan.
A plan includes the list of resources to be created (when provisioning a new product) or modified (when updating a provisioned product) when the plan is executed.
You can create one plan for each provisioned product. To create a plan for an existing provisioned product, the product status must be AVAILABLE or TAINTED.
To view the resource changes in the change set, use DescribeProvisionedProductPlan. To create or modify the provisioned product, use ExecuteProvisionedProductPlan.
See also: AWS API Documentation
Request Syntax
response = client.create_provisioned_product_plan(
AcceptLanguage='string',
PlanName='string',
PlanType='CLOUDFORMATION',
NotificationArns=[
'string',
],
PathId='string',
ProductId='string',
ProvisionedProductName='string',
ProvisioningArtifactId='string',
ProvisioningParameters=[
{
'Key': 'string',
'Value': 'string',
'UsePreviousValue': True|False
},
],
IdempotencyToken='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The name of the plan.
[REQUIRED]
The plan type.
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
[REQUIRED]
The product identifier.
[REQUIRED]
A user-friendly name for the provisioned product. This value must be unique for the Amazon Web Services account and cannot be updated after the product is provisioned.
[REQUIRED]
The identifier of the provisioning artifact.
Parameters specified by the administrator that are required for provisioning the product.
The parameter key-value pair used to update a provisioned product.
The parameter key.
The parameter value.
If set to true, Value
is ignored and the previous parameter value is kept.
[REQUIRED]
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
This field is autopopulated if not provided.
One or more tags.
If the plan is for an existing provisioned product, the product must have a RESOURCE_UPDATE
constraint with TagUpdatesOnProvisionedProduct
set to ALLOWED
to allow tag updates.
Information about a tag. A tag is a key-value pair. Tags are propagated to the resources created when provisioning a product.
The tag key.
The value for this key.
dict
Response Syntax
{
'PlanName': 'string',
'PlanId': 'string',
'ProvisionProductId': 'string',
'ProvisionedProductName': 'string',
'ProvisioningArtifactId': 'string'
}
Response Structure
(dict) --
PlanName (string) --
The name of the plan.
PlanId (string) --
The plan identifier.
ProvisionProductId (string) --
The product identifier.
ProvisionedProductName (string) --
The user-friendly name of the provisioned product.
ProvisioningArtifactId (string) --
The identifier of the provisioning artifact.
Exceptions
ServiceCatalog.Client.exceptions.InvalidParametersException
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidStateException