import * as core from "@terrascript/core"; export interface AllowedPublishersArgs extends core.SchemaArgs { signingProfileVersionArns: core.Array | core.ArrayOut; } export class AllowedPublishers extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public signingProfileVersionArns!: | core.Array | core.ArrayOut; } export interface PoliciesArgs extends core.SchemaArgs { untrustedArtifactOnDeployment: string | core.StringOut; } export class Policies extends core.Schema { @core.attr(String, { computed: true }) public untrustedArtifactOnDeployment!: string | core.StringOut; } export interface DsCodeSigningConfigArgs { /** * (Required) The Amazon Resource Name (ARN) of the code signing configuration. */ arn: string | core.StringOut; } export class DsCodeSigningConfig extends core.Data { /** * List of allowed publishers as signing profiles for this code signing configuration. */ @core.attr(AllowedPublishers, { computed: true, kind: "array" }) public allowedPublishers!: | core.Array | core.ArrayOut; /** * (Required) The Amazon Resource Name (ARN) of the code signing configuration. */ @core.attr(String) public arn!: string | core.StringOut; /** * Unique identifier for the code signing configuration. */ @core.attr(String, { computed: true }) public configId!: string | core.StringOut; /** * Code signing configuration description. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The date and time that the code signing configuration was last modified. */ @core.attr(String, { computed: true }) public lastModified!: string | core.StringOut; /** * List of code signing policies that control the validation failure action for signature mismatch or e * xpiry. */ @core.attr(Policies, { computed: true, kind: "array" }) public policies!: core.Array | core.ArrayOut; constructor(name: string, args?: DsCodeSigningConfigArgs) { super(name, "aws_lambda_code_signing_config", args); } public override getNamespace(): string { return "aws_lambda"; } }