import * as core from "@terrascript/core"; export interface SignatureValidityPeriodArgs extends core.SchemaArgs { type: string | core.StringOut; value: number | core.NumberOut; } export class SignatureValidityPeriod extends core.Schema { @core.attr(String, { computed: true }) public type!: string | core.StringOut; @core.attr(Number, { computed: true }) public value!: number | core.NumberOut; } export interface RevocationRecordArgs extends core.SchemaArgs { revocationEffectiveFrom: string | core.StringOut; revokedAt: string | core.StringOut; revokedBy: string | core.StringOut; } export class RevocationRecord extends core.Schema { @core.attr(String, { computed: true }) public revocationEffectiveFrom!: string | core.StringOut; @core.attr(String, { computed: true }) public revokedAt!: string | core.StringOut; @core.attr(String, { computed: true }) public revokedBy!: string | core.StringOut; } export interface DsSigningProfileArgs { /** * (Required) The name of the target signing profile. */ name: string | core.StringOut; /** * A list of tags associated with the signing profile. */ tags?: core.Map | core.MapOut; } export class DsSigningProfile extends core.Data { /** * The Amazon Resource Name (ARN) for the signing profile. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the target signing profile. */ @core.attr(String) public name!: string | core.StringOut; /** * A human-readable name for the signing platform associated with the signing profile. */ @core.attr(String, { computed: true }) public platformDisplayName!: string | core.StringOut; /** * The ID of the platform that is used by the target signing profile. */ @core.attr(String, { computed: true }) public platformId!: string | core.StringOut; /** * Revocation information for a signing profile. */ @core.attr(RevocationRecord, { computed: true, kind: "array" }) public revocationRecord!: | core.Array | core.ArrayOut; /** * The validity period for a signing job. */ @core.attr(SignatureValidityPeriod, { computed: true, kind: "array" }) public signatureValidityPeriod!: | core.Array | core.ArrayOut; /** * The status of the target signing profile. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * A list of tags associated with the signing profile. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The current version of the signing profile. */ @core.attr(String, { computed: true }) public version!: string | core.StringOut; /** * The signing profile ARN, including the profile version. */ @core.attr(String, { computed: true }) public versionArn!: string | core.StringOut; constructor(name: string, args?: DsSigningProfileArgs) { super(name, "aws_signer_signing_profile", args); } public override getNamespace(): string { return "aws_signer"; } }