CmdID / aws / aws servicecatalog
aws servicecatalog update-provisioning-artifact
Updates the specified provisioning artifact (also known as a version) for the specified product. AWS CLI reference
1 example 7 options Its page in the AWS CLI reference
Examples
To update a provisioning artifact
The following update-provisioning-artifact example updates the name and description of the specified provisioning artifact, using a JSON file to pass parameters.
aws servicecatalog update-provisioning-artifact --cli-input-json file://update-provisioning-artifact-input.jsonIdentifyContents of update-provisioning-artifact-input.json:
{
"ProductId": "prod-abcdfz3syn2rg",
"ProvisioningArtifactId": "pa-pcz347abcdcfm",
"Name": "updated name",
"Description": "updated description"
}
Its output
{
"Info": {
"TemplateUrl": "https://awsdocs.s3.amazonaws.com/servicecatalog/myexampledevelopment-environment.template"
},
"Status": "AVAILABLE",
"ProvisioningArtifactDetail": {
"Active": true,
"Description": "updated description",
"Id": "pa-pcz347abcdcfm",
"Name": "updated name",
"Type": "CLOUD_FORMATION_TEMPLATE",
"CreatedTime": 1562097906.0
}
}For more information, see Managing Versions in the AWS Service Catalog Administrator Guide.
Options
--accept-languageThe language code.--activeIndicates whether the product version is active.--descriptionThe updated description of the provisioning artifact.--guidanceInformation set by the administrator to provide guidance to end users about which provisioning artifacts to use.--nameThe updated name of the provisioning artifact.--product-idThe product identifier.--provisioning-artifact-idThe identifier of the provisioning artifact.