import * as core from "@terrascript/core"; export interface DsComponentArgs { /** * (Required) Amazon Resource Name (ARN) of the component. */ arn: string | core.StringOut; /** * Key-value map of resource tags for the component. */ tags?: core.Map | core.MapOut; } export class DsComponent extends core.Data { /** * (Required) Amazon Resource Name (ARN) of the component. */ @core.attr(String) public arn!: string | core.StringOut; /** * Change description of the component. */ @core.attr(String, { computed: true }) public changeDescription!: string | core.StringOut; /** * Data of the component. */ @core.attr(String, { computed: true }) public data!: string | core.StringOut; /** * Date the component was created. */ @core.attr(String, { computed: true }) public dateCreated!: string | core.StringOut; /** * Description of the component. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Encryption status of the component. */ @core.attr(Boolean, { computed: true }) public encrypted!: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component. */ @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; /** * Name of the component. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Owner of the component. */ @core.attr(String, { computed: true }) public owner!: string | core.StringOut; /** * Platform of the component. */ @core.attr(String, { computed: true }) public platform!: string | core.StringOut; /** * Operating Systems (OSes) supported by the component. */ @core.attr(String, { computed: true, kind: "array" }) public supportedOsVersions!: | core.Array | core.ArrayOut; /** * Key-value map of resource tags for the component. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Type of the component. */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; /** * Version of the component. */ @core.attr(String, { computed: true }) public version!: string | core.StringOut; constructor(name: string, args?: DsComponentArgs) { super(name, "aws_imagebuilder_component", args); } public override getNamespace(): string { return "aws_imagebuilder"; } }