amazonka-opensearch-2.0: Amazon OpenSearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpenSearch.Types.VPCOptions

Description

 
Synopsis

Documentation

data VPCOptions Source #

Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.

See: newVPCOptions smart constructor.

Constructors

VPCOptions' 

Fields

  • securityGroupIds :: Maybe [Text]

    The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

  • subnetIds :: Maybe [Text]

    A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.

Instances

Instances details
ToJSON VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

Generic VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

Associated Types

type Rep VPCOptions :: Type -> Type #

Read VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

Show VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

NFData VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

Methods

rnf :: VPCOptions -> () #

Eq VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

Hashable VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

type Rep VPCOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.VPCOptions

type Rep VPCOptions = D1 ('MetaData "VPCOptions" "Amazonka.OpenSearch.Types.VPCOptions" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "VPCOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newVPCOptions :: VPCOptions Source #

Create a value of VPCOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:securityGroupIds:VPCOptions', vPCOptions_securityGroupIds - The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

$sel:subnetIds:VPCOptions', vPCOptions_subnetIds - A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.

vPCOptions_securityGroupIds :: Lens' VPCOptions (Maybe [Text]) Source #

The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

vPCOptions_subnetIds :: Lens' VPCOptions (Maybe [Text]) Source #

A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.