import * as core from "@terrascript/core"; export interface SignedObjectS3Args extends core.SchemaArgs { bucket: string | core.StringOut; key: string | core.StringOut; } export class SignedObjectS3 extends core.Schema { @core.attr(String, { computed: true }) public bucket!: string | core.StringOut; @core.attr(String, { computed: true }) public key!: string | core.StringOut; } export interface SignedObjectArgs extends core.SchemaArgs { s3: core.Array | core.ArrayOut; } export class SignedObject extends core.Schema { @core.attr(SignedObjectS3, { computed: true, kind: "array" }) public s3!: core.Array | core.ArrayOut; } export interface RevocationRecordArgs extends core.SchemaArgs { reason: string | core.StringOut; revokedAt: string | core.StringOut; revokedBy: string | core.StringOut; } export class RevocationRecord extends core.Schema { @core.attr(String, { computed: true }) public reason!: 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 SourceS3Args extends core.SchemaArgs { bucket: string | core.StringOut; key: string | core.StringOut; version: string | core.StringOut; } export class SourceS3 extends core.Schema { @core.attr(String, { computed: true }) public bucket!: string | core.StringOut; @core.attr(String, { computed: true }) public key!: string | core.StringOut; @core.attr(String, { computed: true }) public version!: string | core.StringOut; } export interface SourceArgs extends core.SchemaArgs { s3: core.Array | core.ArrayOut; } export class Source extends core.Schema { @core.attr(SourceS3, { computed: true, kind: "array" }) public s3!: core.Array | core.ArrayOut; } export interface DsSigningJobArgs { /** * (Required) The ID of the signing job on output. */ jobId: string | core.StringOut; } export class DsSigningJob extends core.Data { /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the signing * job was completed. */ @core.attr(String, { computed: true }) public completedAt!: string | core.StringOut; /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the signing * job was created. */ @core.attr(String, { computed: true }) public createdAt!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the signing job on output. */ @core.attr(String) public jobId!: string | core.StringOut; /** * The IAM entity that initiated the signing job. */ @core.attr(String, { computed: true }) public jobInvoker!: string | core.StringOut; /** * The AWS account ID of the job owner. */ @core.attr(String, { computed: true }) public jobOwner!: string | core.StringOut; /** * A human-readable name for the signing platform associated with the signing job. */ @core.attr(String, { computed: true }) public platformDisplayName!: string | core.StringOut; /** * The platform to which your signed code image will be distributed. */ @core.attr(String, { computed: true }) public platformId!: string | core.StringOut; /** * The name of the profile that initiated the signing operation. */ @core.attr(String, { computed: true }) public profileName!: string | core.StringOut; /** * The version of the signing profile used to initiate the signing job. */ @core.attr(String, { computed: true }) public profileVersion!: string | core.StringOut; /** * The IAM principal that requested the signing job. */ @core.attr(String, { computed: true }) public requestedBy!: string | core.StringOut; /** * A revocation record if the signature generated by the signing job has been revoked. Contains a times * tamp and the ID of the IAM entity that revoked the signature. */ @core.attr(RevocationRecord, { computed: true, kind: "array" }) public revocationRecord!: | core.Array | core.ArrayOut; /** * The time when the signature of a signing job expires. */ @core.attr(String, { computed: true }) public signatureExpiresAt!: string | core.StringOut; /** * Name of the S3 bucket where the signed code image is saved by code signing. */ @core.attr(SignedObject, { computed: true, kind: "array" }) public signedObject!: core.Array | core.ArrayOut; /** * The object that contains the name of your S3 bucket or your raw code. */ @core.attr(Source, { computed: true, kind: "array" }) public source!: core.Array | core.ArrayOut; /** * Status of the signing job. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * String value that contains the status reason. */ @core.attr(String, { computed: true }) public statusReason!: string | core.StringOut; constructor(name: string, args?: DsSigningJobArgs) { super(name, "aws_signer_signing_job", args); } public override getNamespace(): string { return "aws_signer"; } }