@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
393 lines (392 loc) • 24.2 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface FsxS3AccessPointAttachmentConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#name FsxS3AccessPointAttachment#name}
*/
readonly name: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#region FsxS3AccessPointAttachment#region}
*/
readonly region?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#type FsxS3AccessPointAttachment#type}
*/
readonly type: string;
/**
* openzfs_configuration block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#openzfs_configuration FsxS3AccessPointAttachment#openzfs_configuration}
*/
readonly openzfsConfiguration?: FsxS3AccessPointAttachmentOpenzfsConfiguration[] | cdktf.IResolvable;
/**
* s3_access_point block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#s3_access_point FsxS3AccessPointAttachment#s3_access_point}
*/
readonly s3AccessPoint?: FsxS3AccessPointAttachmentS3AccessPoint[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#timeouts FsxS3AccessPointAttachment#timeouts}
*/
readonly timeouts?: FsxS3AccessPointAttachmentTimeouts;
}
export interface FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#gid FsxS3AccessPointAttachment#gid}
*/
readonly gid: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#secondary_gids FsxS3AccessPointAttachment#secondary_gids}
*/
readonly secondaryGids?: number[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#uid FsxS3AccessPointAttachment#uid}
*/
readonly uid: number;
}
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserToTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserToHclTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser | cdktf.IResolvable | undefined);
private _gid?;
get gid(): number;
set gid(value: number);
get gidInput(): number | undefined;
private _secondaryGids?;
get secondaryGids(): number[];
set secondaryGids(value: number[]);
resetSecondaryGids(): void;
get secondaryGidsInput(): number[] | undefined;
private _uid?;
get uid(): number;
set uid(value: number);
get uidInput(): number | undefined;
}
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserOutputReference;
}
export interface FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#type FsxS3AccessPointAttachment#type}
*/
readonly type: string;
/**
* posix_user block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#posix_user FsxS3AccessPointAttachment#posix_user}
*/
readonly posixUser?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser[] | cdktf.IResolvable;
}
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityToTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityToHclTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity | cdktf.IResolvable | undefined);
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _posixUser;
get posixUser(): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUserList;
putPosixUser(value: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser[] | cdktf.IResolvable): void;
resetPosixUser(): void;
get posixUserInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityPosixUser[] | undefined;
}
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityOutputReference;
}
export interface FsxS3AccessPointAttachmentOpenzfsConfiguration {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#volume_id FsxS3AccessPointAttachment#volume_id}
*/
readonly volumeId: string;
/**
* file_system_identity block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#file_system_identity FsxS3AccessPointAttachment#file_system_identity}
*/
readonly fileSystemIdentity?: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity[] | cdktf.IResolvable;
}
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationToTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfiguration | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentOpenzfsConfigurationToHclTerraform(struct?: FsxS3AccessPointAttachmentOpenzfsConfiguration | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): FsxS3AccessPointAttachmentOpenzfsConfiguration | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentOpenzfsConfiguration | cdktf.IResolvable | undefined);
private _volumeId?;
get volumeId(): string;
set volumeId(value: string);
get volumeIdInput(): string | undefined;
private _fileSystemIdentity;
get fileSystemIdentity(): FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentityList;
putFileSystemIdentity(value: FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity[] | cdktf.IResolvable): void;
resetFileSystemIdentity(): void;
get fileSystemIdentityInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentOpenzfsConfigurationFileSystemIdentity[] | undefined;
}
export declare class FsxS3AccessPointAttachmentOpenzfsConfigurationList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FsxS3AccessPointAttachmentOpenzfsConfiguration[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): FsxS3AccessPointAttachmentOpenzfsConfigurationOutputReference;
}
export interface FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#vpc_id FsxS3AccessPointAttachment#vpc_id}
*/
readonly vpcId?: string;
}
export declare function fsxS3AccessPointAttachmentS3AccessPointVpcConfigurationToTerraform(struct?: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentS3AccessPointVpcConfigurationToHclTerraform(struct?: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentS3AccessPointVpcConfigurationOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration | cdktf.IResolvable | undefined);
private _vpcId?;
get vpcId(): string;
set vpcId(value: string);
resetVpcId(): void;
get vpcIdInput(): string | undefined;
}
export declare class FsxS3AccessPointAttachmentS3AccessPointVpcConfigurationList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): FsxS3AccessPointAttachmentS3AccessPointVpcConfigurationOutputReference;
}
export interface FsxS3AccessPointAttachmentS3AccessPoint {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#policy FsxS3AccessPointAttachment#policy}
*/
readonly policy?: string;
/**
* vpc_configuration block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#vpc_configuration FsxS3AccessPointAttachment#vpc_configuration}
*/
readonly vpcConfiguration?: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration[] | cdktf.IResolvable;
}
export declare function fsxS3AccessPointAttachmentS3AccessPointToTerraform(struct?: FsxS3AccessPointAttachmentS3AccessPoint | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentS3AccessPointToHclTerraform(struct?: FsxS3AccessPointAttachmentS3AccessPoint | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentS3AccessPointOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): FsxS3AccessPointAttachmentS3AccessPoint | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentS3AccessPoint | cdktf.IResolvable | undefined);
private _policy?;
get policy(): string;
set policy(value: string);
resetPolicy(): void;
get policyInput(): string | undefined;
private _vpcConfiguration;
get vpcConfiguration(): FsxS3AccessPointAttachmentS3AccessPointVpcConfigurationList;
putVpcConfiguration(value: FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration[] | cdktf.IResolvable): void;
resetVpcConfiguration(): void;
get vpcConfigurationInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentS3AccessPointVpcConfiguration[] | undefined;
}
export declare class FsxS3AccessPointAttachmentS3AccessPointList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FsxS3AccessPointAttachmentS3AccessPoint[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): FsxS3AccessPointAttachmentS3AccessPointOutputReference;
}
export interface FsxS3AccessPointAttachmentTimeouts {
/**
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#create FsxS3AccessPointAttachment#create}
*/
readonly create?: string;
/**
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#delete FsxS3AccessPointAttachment#delete}
*/
readonly delete?: string;
}
export declare function fsxS3AccessPointAttachmentTimeoutsToTerraform(struct?: FsxS3AccessPointAttachmentTimeouts | cdktf.IResolvable): any;
export declare function fsxS3AccessPointAttachmentTimeoutsToHclTerraform(struct?: FsxS3AccessPointAttachmentTimeouts | cdktf.IResolvable): any;
export declare class FsxS3AccessPointAttachmentTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): FsxS3AccessPointAttachmentTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: FsxS3AccessPointAttachmentTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment aws_fsx_s3_access_point_attachment}
*/
export declare class FsxS3AccessPointAttachment extends cdktf.TerraformResource {
static readonly tfResourceType = "aws_fsx_s3_access_point_attachment";
/**
* Generates CDKTF code for importing a FsxS3AccessPointAttachment 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 FsxS3AccessPointAttachment to import
* @param importFromId The id of the existing FsxS3AccessPointAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/fsx_s3_access_point_attachment#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the FsxS3AccessPointAttachment 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/6.25.0/docs/resources/fsx_s3_access_point_attachment aws_fsx_s3_access_point_attachment} 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 FsxS3AccessPointAttachmentConfig
*/
constructor(scope: Construct, id: string, config: FsxS3AccessPointAttachmentConfig);
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): string | undefined;
get s3AccessPointAlias(): string;
get s3AccessPointArn(): string;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _openzfsConfiguration;
get openzfsConfiguration(): FsxS3AccessPointAttachmentOpenzfsConfigurationList;
putOpenzfsConfiguration(value: FsxS3AccessPointAttachmentOpenzfsConfiguration[] | cdktf.IResolvable): void;
resetOpenzfsConfiguration(): void;
get openzfsConfigurationInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentOpenzfsConfiguration[] | undefined;
private _s3AccessPoint;
get s3AccessPoint(): FsxS3AccessPointAttachmentS3AccessPointList;
putS3AccessPoint(value: FsxS3AccessPointAttachmentS3AccessPoint[] | cdktf.IResolvable): void;
resetS3AccessPoint(): void;
get s3AccessPointInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentS3AccessPoint[] | undefined;
private _timeouts;
get timeouts(): FsxS3AccessPointAttachmentTimeoutsOutputReference;
putTimeouts(value: FsxS3AccessPointAttachmentTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | FsxS3AccessPointAttachmentTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}