import * as core from "@terrascript/core"; 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 SignatureValidityPeriodArgs extends core.SchemaArgs { type: string | core.StringOut; value: number | core.NumberOut; } export class SignatureValidityPeriod extends core.Schema { @core.attr(String) public type!: string | core.StringOut; @core.attr(Number) public value!: number | core.NumberOut; } export interface SigningProfileArgs extends core.ResourceArgs { /** * (Optional) A unique signing profile name. By default generated by Terraform. Signing profile names a * re immutable and cannot be reused after canceled. */ name?: string | core.StringOut; /** * (Optional) A signing profile name prefix. Terraform will generate a unique suffix. Conflicts with `n * ame`. */ namePrefix?: string | core.StringOut; /** * (Required) The ID of the platform that is used by the target signing profile. */ platformId: string | core.StringOut; /** * (Optional) The validity period for a signing job. */ signatureValidityPeriod?: SignatureValidityPeriod; /** * (Optional) A list of tags associated with the signing profile. If configured with a provider [`defau * lt_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#defa * ult_tags-configuration-block) present, tags with matching keys will overwrite those defined at the p * rovider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class SigningProfile extends core.Resource { /** * 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; /** * (Optional) A unique signing profile name. By default generated by Terraform. Signing profile names a * re immutable and cannot be reused after canceled. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * (Optional) A signing profile name prefix. Terraform will generate a unique suffix. Conflicts with `n * ame`. */ @core.attr(String) public namePrefix?: 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; /** * (Required) The ID of the platform that is used by the target signing profile. */ @core.attr(String) public platformId!: string | core.StringOut; /** * Revocation information for a signing profile. */ @core.attr(RevocationRecord, { computed: true, kind: "array" }) public revocationRecord!: | core.Array | core.ArrayOut; /** * (Optional) The validity period for a signing job. */ @core.attr(SignatureValidityPeriod, { computed: true }) public signatureValidityPeriod?: SignatureValidityPeriod; /** * The status of the target signing profile. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Optional) A list of tags associated with the signing profile. If configured with a provider [`defau * lt_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#defa * ult_tags-configuration-block) present, tags with matching keys will overwrite those defined at the p * rovider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: 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?: SigningProfileArgs) { super(name, "aws_signer_signing_profile", args); } public override getNamespace(): string { return "aws_signer"; } }