Product

class Product : KotlinCustomResource

Manages a Service Catalog Product.

NOTE: The user or role that uses this resources must have the cloudformation:GetTemplate IAM policy permission. This policy permission is required when using the template_physical_id argument. 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.Product;
import com.pulumi.aws.servicecatalog.ProductArgs;
import com.pulumi.aws.servicecatalog.inputs.ProductProvisioningArtifactParametersArgs;
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 Product("example", ProductArgs.builder()
.owner("example-owner")
.provisioningArtifactParameters(ProductProvisioningArtifactParametersArgs.builder()
.templateUrl("https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/temp1.json")
.build())
.tags(Map.of("foo", "bar"))
.type("CLOUD_FORMATION_TEMPLATE")
.build());
}
}

Import

aws_servicecatalog_product can be imported using the product ID, e.g.,

$ pulumi import aws:servicecatalog/product:Product example prod-dnigbtea24ste

Properties

Link copied to clipboard
val acceptLanguage: Output<String>?

Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.

Link copied to clipboard
val arn: Output<String>

ARN of the product.

Link copied to clipboard
val createdTime: Output<String>

Time when the product was created.

Link copied to clipboard
val description: Output<String>

Description of the product.

Link copied to clipboard
val distributor: Output<String>

Distributor (i.e., vendor) of the product.

Link copied to clipboard
val hasDefaultPath: Output<Boolean>

Whether the product has a default path. If the product does not have a default path, call ListLaunchPaths to disambiguate between paths. Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary can be used directly with DescribeProvisioningParameters.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the product.

Link copied to clipboard
val owner: Output<String>

Owner of the product.

Link copied to clipboard

Configuration block for provisioning artifact (i.e., version) parameters. Detailed below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

Status of the product.

Link copied to clipboard

Support information about the product.

Link copied to clipboard
val supportEmail: Output<String>

Contact email for product support.

Link copied to clipboard
val supportUrl: Output<String>

Contact URL for product support.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Tags to apply to the product. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val type: Output<String>

Type of product. See AWS Docs for valid list of values. The following arguments are optional:

Link copied to clipboard
val urn: Output<String>