import * as core from "@terrascript/core"; export interface DsLayerVersionArgs { compatibleArchitecture?: string | core.StringOut; compatibleRuntime?: string | core.StringOut; /** * (Required) Name of the lambda layer. */ layerName: string | core.StringOut; /** * (Optional) Specific layer version. Conflicts with `compatible_runtime` and `compatible_architecture` * . If omitted, the latest available layer version will be used. */ version?: number | core.NumberOut; } export class DsLayerVersion extends core.Data { /** * The Amazon Resource Name (ARN) of the Lambda Layer with version. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String) public compatibleArchitecture?: string | core.StringOut; /** * A list of [Architectures][2] the specific Lambda Layer version is compatible with. */ @core.attr(String, { computed: true, kind: "array" }) public compatibleArchitectures!: | core.Array | core.ArrayOut; @core.attr(String) public compatibleRuntime?: string | core.StringOut; /** * A list of [Runtimes][1] the specific Lambda Layer version is compatible with. */ @core.attr(String, { computed: true, kind: "array" }) public compatibleRuntimes!: | core.Array | core.ArrayOut; /** * The date this resource was created. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * Description of the specific Lambda Layer version. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the Lambda Layer without version. */ @core.attr(String, { computed: true }) public layerArn!: string | core.StringOut; /** * (Required) Name of the lambda layer. */ @core.attr(String) public layerName!: string | core.StringOut; /** * License info associated with the specific Lambda Layer version. */ @core.attr(String, { computed: true }) public licenseInfo!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of a signing job. */ @core.attr(String, { computed: true }) public signingJobArn!: string | core.StringOut; /** * The Amazon Resource Name (ARN) for a signing profile version. */ @core.attr(String, { computed: true }) public signingProfileVersionArn!: string | core.StringOut; /** * Base64-encoded representation of raw SHA-256 sum of the zip file. */ @core.attr(String, { computed: true }) public sourceCodeHash!: string | core.StringOut; /** * The size in bytes of the function .zip file. */ @core.attr(Number, { computed: true }) public sourceCodeSize!: number | core.NumberOut; /** * (Optional) Specific layer version. Conflicts with `compatible_runtime` and `compatible_architecture` * . If omitted, the latest available layer version will be used. */ @core.attr(Number, { computed: true }) public version?: number | core.NumberOut; constructor(name: string, args?: DsLayerVersionArgs) { super(name, "aws_lambda_layer_version", args); } public override getNamespace(): string { return "aws_lambda"; } }