import * as core from "@terrascript/core"; export interface OriginAccessIdentityArgs extends core.ResourceArgs { comment?: string | core.StringOut; } export class OriginAccessIdentity extends core.Resource { /** * 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; @core.attr(String) 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; /** * The identifier for the distribution. For example: `EDFDVBD632BHDS5`. */ @core.attr(String, { computed: true }) 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?: OriginAccessIdentityArgs) { super(name, "aws_cloudfront_origin_access_identity", args); } public override getNamespace(): string { return "aws_cloudfront"; } }