Provisioning Artifact Args
Manages a Service Catalog Provisioning Artifact for a specified product.
A "provisioning artifact" is also referred to as a "version." NOTE: You cannot create a provisioning artifact for a product that was shared with you. NOTE: The user or role that use this resource must have the
cloudformation:GetTemplate
IAM policy permission. This policy permission is required when using thetemplate_physical_id
argument.
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.ProvisioningArtifact;
import com.pulumi.aws.servicecatalog.ProvisioningArtifactArgs;
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 ProvisioningArtifact("example", ProvisioningArtifactArgs.builder()
.productId(aws_servicecatalog_product.example().id())
.type("CLOUD_FORMATION_TEMPLATE")
.templateUrl(String.format("https://%s/%s", aws_s3_bucket.example().bucket_regional_domain_name(),aws_s3_object.example().key()))
.build());
}
}
Import
aws_servicecatalog_provisioning_artifact
can be imported using the provisioning artifact ID and product ID separated by a colon, e.g.,
$ pulumi import aws:servicecatalog/provisioningArtifact:ProvisioningArtifact example pa-ij2b6lusy6dec:prod-el3an0rma3
Constructors
Properties
Language code. Valid values: en
(English), jp
(Japanese), zh
(Chinese). The default value is en
.
Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
Information set by the administrator to provide guidance to end users about which provisioning artifacts to use. Valid values are DEFAULT
and DEPRECATED
. The default is DEFAULT
. Users are able to make updates to a provisioned product of a deprecated version but cannot launch new provisioned products using a deprecated version.
Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]
.
Template source as URL of the CloudFormation template in Amazon S3. The following arguments are optional: