import * as core from "@terrascript/core"; export interface DsOriginAccessIdentityArgs { id: string | core.StringOut; } export class DsOriginAccessIdentity extends core.Data { /** * Internal value used by CloudFront to allow future */ @core.attr(String, { computed: true }) public callerReference!: string | core.StringOut; /** * A shortcut to the full path for the */ @core.attr(String, { computed: true }) public cloudfrontAccessIdentityPath!: string | core.StringOut; /** * An optional comment for the origin access identity. */ @core.attr(String, { computed: true }) public comment!: string | core.StringOut; /** * The current version of the origin access identity's information. */ @core.attr(String, { computed: true }) public etag!: string | core.StringOut; /** * A pre-generated ARN for use in S3 bucket policies (see below). */ @core.attr(String, { computed: true }) public iamArn!: string | core.StringOut; @core.attr(String) public id!: string | core.StringOut; /** * The Amazon S3 canonical user ID for the origin */ @core.attr(String, { computed: true }) public s3CanonicalUserId!: string | core.StringOut; constructor(name: string, args?: DsOriginAccessIdentityArgs) { super(name, "aws_cloudfront_origin_access_identity", args); } public override getNamespace(): string { return "aws_cloudfront"; } }