import * as core from "@terrascript/core"; export interface ProvisioningArtifactArgs extends core.ResourceArgs { /** * (Optional) Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). The default * value is `en`. */ acceptLanguage?: string | core.StringOut; /** * (Optional) Whether the product version is active. Inactive provisioning artifacts are invisible to e * nd users. End users cannot launch or update a provisioned product from an inactive provisioning arti * fact. Default is `true`. */ active?: boolean | core.BooleanOut; /** * (Optional) Description of the provisioning artifact (i.e., version), including how it differs from t * he previous provisioning artifact. */ description?: string | core.StringOut; /** * (Optional) Whether AWS Service Catalog stops validating the specified provisioning artifact template * even if it is invalid. */ disableTemplateValidation?: boolean | core.BooleanOut; /** * (Optional) Information set by the administrator to provide guidance to end users about which provisi * oning 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 pro * visioned products using a deprecated version. */ guidance?: string | core.StringOut; /** * (Optional) Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed. */ name?: string | core.StringOut; /** * (Required) Identifier of the product. */ productId: string | core.StringOut; /** * (Required if `template_url` is not provided) 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]`. */ templatePhysicalId?: string | core.StringOut; /** * (Required if `template_physical_id` is not provided) Template source as URL of the CloudFormation te * mplate in Amazon S3. */ templateUrl?: string | core.StringOut; /** * (Optional) Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI * , `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources). */ type?: string | core.StringOut; } export class ProvisioningArtifact extends core.Resource { /** * (Optional) Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). The default * value is `en`. */ @core.attr(String) public acceptLanguage?: string | core.StringOut; /** * (Optional) Whether the product version is active. Inactive provisioning artifacts are invisible to e * nd users. End users cannot launch or update a provisioned product from an inactive provisioning arti * fact. Default is `true`. */ @core.attr(Boolean) public active?: boolean | core.BooleanOut; /** * Time when the provisioning artifact was created. */ @core.attr(String, { computed: true }) public createdTime!: string | core.StringOut; /** * (Optional) Description of the provisioning artifact (i.e., version), including how it differs from t * he previous provisioning artifact. */ @core.attr(String, { computed: true }) public description?: string | core.StringOut; /** * (Optional) Whether AWS Service Catalog stops validating the specified provisioning artifact template * even if it is invalid. */ @core.attr(Boolean) public disableTemplateValidation?: boolean | core.BooleanOut; /** * (Optional) Information set by the administrator to provide guidance to end users about which provisi * oning 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 pro * visioned products using a deprecated version. */ @core.attr(String) public guidance?: string | core.StringOut; /** * Provisioning Artifact identifier and product identifier separated by a colon. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * (Required) Identifier of the product. */ @core.attr(String) public productId!: string | core.StringOut; /** * (Required if `template_url` is not provided) 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]`. */ @core.attr(String) public templatePhysicalId?: string | core.StringOut; /** * (Required if `template_physical_id` is not provided) Template source as URL of the CloudFormation te * mplate in Amazon S3. */ @core.attr(String) public templateUrl?: string | core.StringOut; /** * (Optional) Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI * , `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources). */ @core.attr(String) public type?: string | core.StringOut; constructor(name: string, args?: ProvisioningArtifactArgs) { super(name, "aws_servicecatalog_provisioning_artifact", args); } public override getNamespace(): string { return "aws_servicecatalog"; } }