@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
245 lines (244 loc) • 13.6 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface TransferWebAppConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#access_endpoint TransferWebApp#access_endpoint}
*/
readonly accessEndpoint?: 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/transfer_web_app#region TransferWebApp#region}
*/
readonly region?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#tags TransferWebApp#tags}
*/
readonly tags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#web_app_endpoint_policy TransferWebApp#web_app_endpoint_policy}
*/
readonly webAppEndpointPolicy?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#web_app_units TransferWebApp#web_app_units}
*/
readonly webAppUnits?: TransferWebAppWebAppUnits[] | cdktf.IResolvable;
/**
* identity_provider_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#identity_provider_details TransferWebApp#identity_provider_details}
*/
readonly identityProviderDetails?: TransferWebAppIdentityProviderDetails[] | cdktf.IResolvable;
}
export interface TransferWebAppWebAppUnits {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#provisioned TransferWebApp#provisioned}
*/
readonly provisioned?: number;
}
export declare function transferWebAppWebAppUnitsToTerraform(struct?: TransferWebAppWebAppUnits | cdktf.IResolvable): any;
export declare function transferWebAppWebAppUnitsToHclTerraform(struct?: TransferWebAppWebAppUnits | cdktf.IResolvable): any;
export declare class TransferWebAppWebAppUnitsOutputReference 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(): TransferWebAppWebAppUnits | cdktf.IResolvable | undefined;
set internalValue(value: TransferWebAppWebAppUnits | cdktf.IResolvable | undefined);
private _provisioned?;
get provisioned(): number;
set provisioned(value: number);
resetProvisioned(): void;
get provisionedInput(): number | undefined;
}
export declare class TransferWebAppWebAppUnitsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: TransferWebAppWebAppUnits[] | 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): TransferWebAppWebAppUnitsOutputReference;
}
export interface TransferWebAppIdentityProviderDetailsIdentityCenterConfig {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#instance_arn TransferWebApp#instance_arn}
*/
readonly instanceArn?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#role TransferWebApp#role}
*/
readonly role?: string;
}
export declare function transferWebAppIdentityProviderDetailsIdentityCenterConfigToTerraform(struct?: TransferWebAppIdentityProviderDetailsIdentityCenterConfig | cdktf.IResolvable): any;
export declare function transferWebAppIdentityProviderDetailsIdentityCenterConfigToHclTerraform(struct?: TransferWebAppIdentityProviderDetailsIdentityCenterConfig | cdktf.IResolvable): any;
export declare class TransferWebAppIdentityProviderDetailsIdentityCenterConfigOutputReference 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(): TransferWebAppIdentityProviderDetailsIdentityCenterConfig | cdktf.IResolvable | undefined;
set internalValue(value: TransferWebAppIdentityProviderDetailsIdentityCenterConfig | cdktf.IResolvable | undefined);
get applicationArn(): string;
private _instanceArn?;
get instanceArn(): string;
set instanceArn(value: string);
resetInstanceArn(): void;
get instanceArnInput(): string | undefined;
private _role?;
get role(): string;
set role(value: string);
resetRole(): void;
get roleInput(): string | undefined;
}
export declare class TransferWebAppIdentityProviderDetailsIdentityCenterConfigList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: TransferWebAppIdentityProviderDetailsIdentityCenterConfig[] | 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): TransferWebAppIdentityProviderDetailsIdentityCenterConfigOutputReference;
}
export interface TransferWebAppIdentityProviderDetails {
/**
* identity_center_config block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#identity_center_config TransferWebApp#identity_center_config}
*/
readonly identityCenterConfig?: TransferWebAppIdentityProviderDetailsIdentityCenterConfig[] | cdktf.IResolvable;
}
export declare function transferWebAppIdentityProviderDetailsToTerraform(struct?: TransferWebAppIdentityProviderDetails | cdktf.IResolvable): any;
export declare function transferWebAppIdentityProviderDetailsToHclTerraform(struct?: TransferWebAppIdentityProviderDetails | cdktf.IResolvable): any;
export declare class TransferWebAppIdentityProviderDetailsOutputReference 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(): TransferWebAppIdentityProviderDetails | cdktf.IResolvable | undefined;
set internalValue(value: TransferWebAppIdentityProviderDetails | cdktf.IResolvable | undefined);
private _identityCenterConfig;
get identityCenterConfig(): TransferWebAppIdentityProviderDetailsIdentityCenterConfigList;
putIdentityCenterConfig(value: TransferWebAppIdentityProviderDetailsIdentityCenterConfig[] | cdktf.IResolvable): void;
resetIdentityCenterConfig(): void;
get identityCenterConfigInput(): cdktf.IResolvable | TransferWebAppIdentityProviderDetailsIdentityCenterConfig[] | undefined;
}
export declare class TransferWebAppIdentityProviderDetailsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: TransferWebAppIdentityProviderDetails[] | 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): TransferWebAppIdentityProviderDetailsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app aws_transfer_web_app}
*/
export declare class TransferWebApp extends cdktf.TerraformResource {
static readonly tfResourceType = "aws_transfer_web_app";
/**
* Generates CDKTF code for importing a TransferWebApp 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 TransferWebApp to import
* @param importFromId The id of the existing TransferWebApp that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/transfer_web_app#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the TransferWebApp 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/transfer_web_app aws_transfer_web_app} 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 TransferWebAppConfig = {}
*/
constructor(scope: Construct, id: string, config?: TransferWebAppConfig);
private _accessEndpoint?;
get accessEndpoint(): string;
set accessEndpoint(value: string);
resetAccessEndpoint(): void;
get accessEndpointInput(): string | undefined;
get arn(): string;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): 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(): cdktf.StringMap;
private _webAppEndpointPolicy?;
get webAppEndpointPolicy(): string;
set webAppEndpointPolicy(value: string);
resetWebAppEndpointPolicy(): void;
get webAppEndpointPolicyInput(): string | undefined;
get webAppId(): string;
private _webAppUnits;
get webAppUnits(): TransferWebAppWebAppUnitsList;
putWebAppUnits(value: TransferWebAppWebAppUnits[] | cdktf.IResolvable): void;
resetWebAppUnits(): void;
get webAppUnitsInput(): cdktf.IResolvable | TransferWebAppWebAppUnits[] | undefined;
private _identityProviderDetails;
get identityProviderDetails(): TransferWebAppIdentityProviderDetailsList;
putIdentityProviderDetails(value: TransferWebAppIdentityProviderDetails[] | cdktf.IResolvable): void;
resetIdentityProviderDetails(): void;
get identityProviderDetailsInput(): cdktf.IResolvable | TransferWebAppIdentityProviderDetails[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}