ProductArgs

data class ProductArgs(val acceptLanguage: Output<String>? = null, val description: Output<String>? = null, val distributor: Output<String>? = null, val name: Output<String>? = null, val owner: Output<String>? = null, val provisioningArtifactParameters: Output<ProductProvisioningArtifactParametersArgs>? = null, val supportDescription: Output<String>? = null, val supportEmail: Output<String>? = null, val supportUrl: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<ProductArgs>

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

Constructors

Link copied to clipboard
constructor(acceptLanguage: Output<String>? = null, description: Output<String>? = null, distributor: Output<String>? = null, name: Output<String>? = null, owner: Output<String>? = null, provisioningArtifactParameters: Output<ProductProvisioningArtifactParametersArgs>? = null, supportDescription: Output<String>? = null, supportEmail: Output<String>? = null, supportUrl: Output<String>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null)

Properties

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

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

Link copied to clipboard
val description: Output<String>? = null

Description of the product.

Link copied to clipboard
val distributor: Output<String>? = null

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

Link copied to clipboard
val name: Output<String>? = null

Name of the product.

Link copied to clipboard
val owner: Output<String>? = null

Owner of the product.

Link copied to clipboard

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

Link copied to clipboard
val supportDescription: Output<String>? = null

Support information about the product.

Link copied to clipboard
val supportEmail: Output<String>? = null

Contact email for product support.

Link copied to clipboard
val supportUrl: Output<String>? = null

Contact URL for product support.

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

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 type: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ProductArgs