import * as core from "@terrascript/core"; export interface DsAuthorizationTokenArgs {} export class DsAuthorizationToken extends core.Data { /** * Temporary IAM authentication credentials to access the ECR repository encoded in base64 in the form * of `user_name:password`. */ @core.attr(String, { computed: true }) public authorizationToken!: string | core.StringOut; /** * The time in UTC RFC3339 format when the authorization token expires. */ @core.attr(String, { computed: true }) public expiresAt!: string | core.StringOut; /** * Region of the authorization token. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Password decoded from the authorization token. */ @core.attr(String, { computed: true }) public password!: string | core.StringOut; /** * User name decoded from the authorization token. */ @core.attr(String, { computed: true }) public userName!: string | core.StringOut; constructor(name: string, args?: DsAuthorizationTokenArgs) { super(name, "aws_ecrpublic_authorization_token", args); } public override getNamespace(): string { return "aws_ecrpublic"; } }