@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
211 lines (210 loc) • 10.4 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface WorkspaceswebPortalConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#additional_encryption_context WorkspaceswebPortal#additional_encryption_context}
*/
readonly additionalEncryptionContext?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#authentication_type WorkspaceswebPortal#authentication_type}
*/
readonly authenticationType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#browser_settings_arn WorkspaceswebPortal#browser_settings_arn}
*/
readonly browserSettingsArn?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#customer_managed_key WorkspaceswebPortal#customer_managed_key}
*/
readonly customerManagedKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#display_name WorkspaceswebPortal#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#instance_type WorkspaceswebPortal#instance_type}
*/
readonly instanceType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#max_concurrent_sessions WorkspaceswebPortal#max_concurrent_sessions}
*/
readonly maxConcurrentSessions?: number;
/**
* 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/workspacesweb_portal#region WorkspaceswebPortal#region}
*/
readonly region?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#tags WorkspaceswebPortal#tags}
*/
readonly tags?: {
[key: string]: string;
};
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#timeouts WorkspaceswebPortal#timeouts}
*/
readonly timeouts?: WorkspaceswebPortalTimeouts;
}
export interface WorkspaceswebPortalTimeouts {
/**
* 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/workspacesweb_portal#create WorkspaceswebPortal#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/workspacesweb_portal#delete WorkspaceswebPortal#delete}
*/
readonly delete?: 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).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#update WorkspaceswebPortal#update}
*/
readonly update?: string;
}
export declare function workspaceswebPortalTimeoutsToTerraform(struct?: WorkspaceswebPortalTimeouts | cdktf.IResolvable): any;
export declare function workspaceswebPortalTimeoutsToHclTerraform(struct?: WorkspaceswebPortalTimeouts | cdktf.IResolvable): any;
export declare class WorkspaceswebPortalTimeoutsOutputReference 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(): WorkspaceswebPortalTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: WorkspaceswebPortalTimeouts | 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;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal aws_workspacesweb_portal}
*/
export declare class WorkspaceswebPortal extends cdktf.TerraformResource {
static readonly tfResourceType = "aws_workspacesweb_portal";
/**
* Generates CDKTF code for importing a WorkspaceswebPortal 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 WorkspaceswebPortal to import
* @param importFromId The id of the existing WorkspaceswebPortal that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/workspacesweb_portal#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the WorkspaceswebPortal 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/workspacesweb_portal aws_workspacesweb_portal} 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 WorkspaceswebPortalConfig = {}
*/
constructor(scope: Construct, id: string, config?: WorkspaceswebPortalConfig);
private _additionalEncryptionContext?;
get additionalEncryptionContext(): {
[key: string]: string;
};
set additionalEncryptionContext(value: {
[key: string]: string;
});
resetAdditionalEncryptionContext(): void;
get additionalEncryptionContextInput(): {
[key: string]: string;
} | undefined;
private _authenticationType?;
get authenticationType(): string;
set authenticationType(value: string);
resetAuthenticationType(): void;
get authenticationTypeInput(): string | undefined;
private _browserSettingsArn?;
get browserSettingsArn(): string;
set browserSettingsArn(value: string);
resetBrowserSettingsArn(): void;
get browserSettingsArnInput(): string | undefined;
get browserType(): string;
get creationDate(): string;
private _customerManagedKey?;
get customerManagedKey(): string;
set customerManagedKey(value: string);
resetCustomerManagedKey(): void;
get customerManagedKeyInput(): string | undefined;
get dataProtectionSettingsArn(): string;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _instanceType?;
get instanceType(): string;
set instanceType(value: string);
resetInstanceType(): void;
get instanceTypeInput(): string | undefined;
get ipAccessSettingsArn(): string;
private _maxConcurrentSessions?;
get maxConcurrentSessions(): number;
set maxConcurrentSessions(value: number);
resetMaxConcurrentSessions(): void;
get maxConcurrentSessionsInput(): number | undefined;
get networkSettingsArn(): string;
get portalArn(): string;
get portalEndpoint(): string;
get portalStatus(): string;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): string | undefined;
get rendererType(): string;
get sessionLoggerArn(): string;
get statusReason(): string;
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;
get trustStoreArn(): string;
get userAccessLoggingSettingsArn(): string;
get userSettingsArn(): string;
private _timeouts;
get timeouts(): WorkspaceswebPortalTimeoutsOutputReference;
putTimeouts(value: WorkspaceswebPortalTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | WorkspaceswebPortalTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}