Provisioned Product Args
This resource provisions and manages a Service Catalog provisioned product. A provisioned product is a resourced instance of a product. For example, provisioning a product based on a CloudFormation template launches a CloudFormation stack and its underlying resources. Like this resource, the aws_servicecatalog_record
data source also provides information about a provisioned product. Although a Service Catalog record provides some overlapping information with this resource, a record is tied to a provisioned product event, such as provisioning, termination, and updating.
Tip: If you include conflicted keys as tags, AWS will report an error, "Parameter validation failed: Missing required parameter in TagsN:Value". Tip: A "provisioning artifact" is also referred to as a "version." A "distributor" is also referred to as a "vendor."
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicecatalog.ProvisionedProduct;
import com.pulumi.aws.servicecatalog.ProvisionedProductArgs;
import com.pulumi.aws.servicecatalog.inputs.ProvisionedProductProvisioningParameterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ProvisionedProduct("example", ProvisionedProductArgs.builder()
.productName("Example product")
.provisioningArtifactName("Example version")
.provisioningParameters(ProvisionedProductProvisioningParameterArgs.builder()
.key("foo")
.value("bar")
.build())
.tags(Map.of("foo", "bar"))
.build());
}
}
Import
aws_servicecatalog_provisioned_product
can be imported using the provisioned product ID, e.g.,
$ pulumi import aws:servicecatalog/provisionedProduct:ProvisionedProduct example pp-dnigbtea24ste
Constructors
Properties
Language code. Valid values: en
(English), jp
(Japanese), zh
(Chinese). Default value is en
.
Only applies to deleting. If set to true
, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources. The default value is false
.
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
Path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use aws.servicecatalog.getLaunchPaths
. When required, you must provide path_id
or path_name
, but not both.
Name of the product. You must provide product_id
or product_name
, but not both.
Identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne
. You must provide the provisioning_artifact_id
or provisioning_artifact_name
, but not both.
Name of the provisioning artifact. You must provide the provisioning_artifact_id
or provisioning_artifact_name
, but not both.
Configuration block with parameters specified by the administrator that are required for provisioning the product. See details below.
Only applies to deleting. Whether to delete the Service Catalog provisioned product but leave the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false
.
Configuration block with information about the provisioning preferences for a stack set. See details below.