import * as core from "@terrascript/core"; export interface DsDistributionArgs { /** * The identifier for the distribution. For example: `EDFDVBD632BHDS5`. */ id: string | core.StringOut; tags?: core.Map | core.MapOut; } export class DsDistribution extends core.Data { /** * A list that contains information about CNAMEs (alternate domain names), if any, for this distributio * n. */ @core.attr(String, { computed: true, kind: "array" }) public aliases!: core.Array | core.ArrayOut; /** * The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:d * istribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The domain name corresponding to the distribution. For */ @core.attr(String, { computed: true }) public domainName!: string | core.StringOut; @core.attr(Boolean, { computed: true }) public enabled!: boolean | core.BooleanOut; /** * The current version of the distribution's information. For example: */ @core.attr(String, { computed: true }) public etag!: string | core.StringOut; /** * The CloudFront Route 53 zone ID that can be used to */ @core.attr(String, { computed: true }) public hostedZoneId!: string | core.StringOut; /** * The identifier for the distribution. For example: `EDFDVBD632BHDS5`. */ @core.attr(String) public id!: string | core.StringOut; /** * The number of invalidation batches */ @core.attr(Number, { computed: true }) public inProgressValidationBatches!: number | core.NumberOut; /** * The date and time the distribution was last modified. */ @core.attr(String, { computed: true }) public lastModifiedTime!: string | core.StringOut; /** * The current status of the distribution. `Deployed` if the */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsDistributionArgs) { super(name, "aws_cloudfront_distribution", args); } public override getNamespace(): string { return "aws_cloudfront"; } }