UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

168 lines (167 loc) 9.17 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OpensearchserverlessSecurityConfigConfig extends cdktf.TerraformMetaArguments { /** * Description of the security configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#description OpensearchserverlessSecurityConfig#description} */ readonly description?: string; /** * Name of the policy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#name OpensearchserverlessSecurityConfig#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/opensearchserverless_security_config#region OpensearchserverlessSecurityConfig#region} */ readonly region?: string; /** * Type of configuration. Must be `saml`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#type OpensearchserverlessSecurityConfig#type} */ readonly type: string; /** * saml_options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#saml_options OpensearchserverlessSecurityConfig#saml_options} */ readonly samlOptions?: OpensearchserverlessSecurityConfigSamlOptions[] | cdktf.IResolvable; } export interface OpensearchserverlessSecurityConfigSamlOptions { /** * Group attribute for this SAML integration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#group_attribute OpensearchserverlessSecurityConfig#group_attribute} */ readonly groupAttribute?: string; /** * The XML IdP metadata file generated from your identity provider. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#metadata OpensearchserverlessSecurityConfig#metadata} */ readonly metadata: string; /** * Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#session_timeout OpensearchserverlessSecurityConfig#session_timeout} */ readonly sessionTimeout?: number; /** * User attribute for this SAML integration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#user_attribute OpensearchserverlessSecurityConfig#user_attribute} */ readonly userAttribute?: string; } export declare function opensearchserverlessSecurityConfigSamlOptionsToTerraform(struct?: OpensearchserverlessSecurityConfigSamlOptions | cdktf.IResolvable): any; export declare function opensearchserverlessSecurityConfigSamlOptionsToHclTerraform(struct?: OpensearchserverlessSecurityConfigSamlOptions | cdktf.IResolvable): any; export declare class OpensearchserverlessSecurityConfigSamlOptionsOutputReference 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(): OpensearchserverlessSecurityConfigSamlOptions | cdktf.IResolvable | undefined; set internalValue(value: OpensearchserverlessSecurityConfigSamlOptions | cdktf.IResolvable | undefined); private _groupAttribute?; get groupAttribute(): string; set groupAttribute(value: string); resetGroupAttribute(): void; get groupAttributeInput(): string | undefined; private _metadata?; get metadata(): string; set metadata(value: string); get metadataInput(): string | undefined; private _sessionTimeout?; get sessionTimeout(): number; set sessionTimeout(value: number); resetSessionTimeout(): void; get sessionTimeoutInput(): number | undefined; private _userAttribute?; get userAttribute(): string; set userAttribute(value: string); resetUserAttribute(): void; get userAttributeInput(): string | undefined; } export declare class OpensearchserverlessSecurityConfigSamlOptionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OpensearchserverlessSecurityConfigSamlOptions[] | 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): OpensearchserverlessSecurityConfigSamlOptionsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config aws_opensearchserverless_security_config} */ export declare class OpensearchserverlessSecurityConfig extends cdktf.TerraformResource { static readonly tfResourceType = "aws_opensearchserverless_security_config"; /** * Generates CDKTF code for importing a OpensearchserverlessSecurityConfig 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 OpensearchserverlessSecurityConfig to import * @param importFromId The id of the existing OpensearchserverlessSecurityConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/opensearchserverless_security_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the OpensearchserverlessSecurityConfig 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/opensearchserverless_security_config aws_opensearchserverless_security_config} 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 OpensearchserverlessSecurityConfigConfig */ constructor(scope: Construct, id: string, config: OpensearchserverlessSecurityConfigConfig); get configVersion(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; get id(): string; 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; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; private _samlOptions; get samlOptions(): OpensearchserverlessSecurityConfigSamlOptionsList; putSamlOptions(value: OpensearchserverlessSecurityConfigSamlOptions[] | cdktf.IResolvable): void; resetSamlOptions(): void; get samlOptionsInput(): cdktf.IResolvable | OpensearchserverlessSecurityConfigSamlOptions[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }