import * as core from "@terrascript/core"; export interface DsConstraintArgs { /** * (Optional) Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default val * ue is `en`. */ acceptLanguage?: string | core.StringOut; /** * Description of the constraint. */ description?: string | core.StringOut; /** * Constraint identifier. */ id: string | core.StringOut; } export class DsConstraint extends core.Data { /** * (Optional) Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default val * ue is `en`. */ @core.attr(String) public acceptLanguage?: string | core.StringOut; /** * Description of the constraint. */ @core.attr(String, { computed: true }) public description?: string | core.StringOut; /** * Constraint identifier. */ @core.attr(String) public id!: string | core.StringOut; /** * Owner of the constraint. */ @core.attr(String, { computed: true }) public owner!: string | core.StringOut; /** * Constraint parameters in JSON format. */ @core.attr(String, { computed: true }) public parameters!: string | core.StringOut; /** * Portfolio identifier. */ @core.attr(String, { computed: true }) public portfolioId!: string | core.StringOut; /** * Product identifier. */ @core.attr(String, { computed: true }) public productId!: string | core.StringOut; /** * Constraint status. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `RESOURCE_UPDATE`, `STACKSET`, and `T * EMPLATE`. */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; constructor(name: string, args?: DsConstraintArgs) { super(name, "aws_servicecatalog_constraint", args); } public override getNamespace(): string { return "aws_servicecatalog"; } }