UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

163 lines (162 loc) 7.7 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DatasyncLocationObjectStorageConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#access_key DatasyncLocationObjectStorage#access_key} */ readonly accessKey?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#agent_arns DatasyncLocationObjectStorage#agent_arns} */ readonly agentArns: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#bucket_name DatasyncLocationObjectStorage#bucket_name} */ readonly bucketName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#id DatasyncLocationObjectStorage#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/datasync_location_object_storage#secret_key DatasyncLocationObjectStorage#secret_key} */ readonly secretKey?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#server_certificate DatasyncLocationObjectStorage#server_certificate} */ readonly serverCertificate?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#server_hostname DatasyncLocationObjectStorage#server_hostname} */ readonly serverHostname: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#server_port DatasyncLocationObjectStorage#server_port} */ readonly serverPort?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#server_protocol DatasyncLocationObjectStorage#server_protocol} */ readonly serverProtocol?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#subdirectory DatasyncLocationObjectStorage#subdirectory} */ readonly subdirectory?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#tags DatasyncLocationObjectStorage#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#tags_all DatasyncLocationObjectStorage#tags_all} */ readonly tagsAll?: { [key: string]: string; }; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage aws_datasync_location_object_storage} */ export declare class DatasyncLocationObjectStorage extends cdktf.TerraformResource { static readonly tfResourceType = "aws_datasync_location_object_storage"; /** * Generates CDKTF code for importing a DatasyncLocationObjectStorage 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 DatasyncLocationObjectStorage to import * @param importFromId The id of the existing DatasyncLocationObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/datasync_location_object_storage#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DatasyncLocationObjectStorage 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/datasync_location_object_storage aws_datasync_location_object_storage} 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 DatasyncLocationObjectStorageConfig */ constructor(scope: Construct, id: string, config: DatasyncLocationObjectStorageConfig); private _accessKey?; get accessKey(): string; set accessKey(value: string); resetAccessKey(): void; get accessKeyInput(): string | undefined; private _agentArns?; get agentArns(): string[]; set agentArns(value: string[]); get agentArnsInput(): string[] | undefined; get arn(): string; private _bucketName?; get bucketName(): string; set bucketName(value: string); get bucketNameInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _secretKey?; get secretKey(): string; set secretKey(value: string); resetSecretKey(): void; get secretKeyInput(): string | undefined; private _serverCertificate?; get serverCertificate(): string; set serverCertificate(value: string); resetServerCertificate(): void; get serverCertificateInput(): string | undefined; private _serverHostname?; get serverHostname(): string; set serverHostname(value: string); get serverHostnameInput(): string | undefined; private _serverPort?; get serverPort(): number; set serverPort(value: number); resetServerPort(): void; get serverPortInput(): number | undefined; private _serverProtocol?; get serverProtocol(): string; set serverProtocol(value: string); resetServerProtocol(): void; get serverProtocolInput(): string | undefined; private _subdirectory?; get subdirectory(): string; set subdirectory(value: string); resetSubdirectory(): void; get subdirectoryInput(): string | undefined; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; } | undefined; private _tagsAll?; get tagsAll(): { [key: string]: string; }; set tagsAll(value: { [key: string]: string; }); resetTagsAll(): void; get tagsAllInput(): { [key: string]: string; } | undefined; get uri(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }