UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

155 lines (154 loc) 7.52 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LambdaLayerVersionConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#compatible_architectures LambdaLayerVersion#compatible_architectures} */ readonly compatibleArchitectures?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#compatible_runtimes LambdaLayerVersion#compatible_runtimes} */ readonly compatibleRuntimes?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#description LambdaLayerVersion#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#filename LambdaLayerVersion#filename} */ readonly filename?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#id LambdaLayerVersion#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#layer_name LambdaLayerVersion#layer_name} */ readonly layerName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#license_info LambdaLayerVersion#license_info} */ readonly licenseInfo?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#s3_bucket LambdaLayerVersion#s3_bucket} */ readonly s3Bucket?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#s3_key LambdaLayerVersion#s3_key} */ readonly s3Key?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#s3_object_version LambdaLayerVersion#s3_object_version} */ readonly s3ObjectVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#skip_destroy LambdaLayerVersion#skip_destroy} */ readonly skipDestroy?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#source_code_hash LambdaLayerVersion#source_code_hash} */ readonly sourceCodeHash?: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version aws_lambda_layer_version} */ export declare class LambdaLayerVersion extends cdktf.TerraformResource { static readonly tfResourceType = "aws_lambda_layer_version"; /** * Generates CDKTF code for importing a LambdaLayerVersion resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the LambdaLayerVersion to import * @param importFromId The id of the existing LambdaLayerVersion that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LambdaLayerVersion to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/lambda_layer_version aws_lambda_layer_version} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options LambdaLayerVersionConfig */ constructor(scope: Construct, id: string, config: LambdaLayerVersionConfig); get arn(): string; get codeSha256(): string; private _compatibleArchitectures?; get compatibleArchitectures(): string[]; set compatibleArchitectures(value: string[]); resetCompatibleArchitectures(): void; get compatibleArchitecturesInput(): string[] | undefined; private _compatibleRuntimes?; get compatibleRuntimes(): string[]; set compatibleRuntimes(value: string[]); resetCompatibleRuntimes(): void; get compatibleRuntimesInput(): string[] | undefined; get createdDate(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _filename?; get filename(): string; set filename(value: string); resetFilename(): void; get filenameInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get layerArn(): string; private _layerName?; get layerName(): string; set layerName(value: string); get layerNameInput(): string | undefined; private _licenseInfo?; get licenseInfo(): string; set licenseInfo(value: string); resetLicenseInfo(): void; get licenseInfoInput(): string | undefined; private _s3Bucket?; get s3Bucket(): string; set s3Bucket(value: string); resetS3Bucket(): void; get s3BucketInput(): string | undefined; private _s3Key?; get s3Key(): string; set s3Key(value: string); resetS3Key(): void; get s3KeyInput(): string | undefined; private _s3ObjectVersion?; get s3ObjectVersion(): string; set s3ObjectVersion(value: string); resetS3ObjectVersion(): void; get s3ObjectVersionInput(): string | undefined; get signingJobArn(): string; get signingProfileVersionArn(): string; private _skipDestroy?; get skipDestroy(): boolean | cdktf.IResolvable; set skipDestroy(value: boolean | cdktf.IResolvable); resetSkipDestroy(): void; get skipDestroyInput(): boolean | cdktf.IResolvable | undefined; private _sourceCodeHash?; get sourceCodeHash(): string; set sourceCodeHash(value: string); resetSourceCodeHash(): void; get sourceCodeHashInput(): string | undefined; get sourceCodeSize(): number; get version(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }