Interface CfnDomainPropsMixin.VPCOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainPropsMixin.VPCOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnDomainPropsMixin
For more information, see Launching your Amazon OpenSearch Service domains using a VPC in the Amazon OpenSearch Service Developer Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.*;
VPCOptionsProperty vPCOptionsProperty = VPCOptionsProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainPropsMixin.VPCOptionsPropertystatic final classAn implementation forCfnDomainPropsMixin.VPCOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The list of security group IDs that are associated with the VPC endpoints for the domain.Provide one subnet ID for each Availability Zone that your domain uses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
The list of security group IDs that are associated with the VPC endpoints for the domain.If you don't provide a security group ID, OpenSearch Service uses the default security group for the VPC. To learn more, see Security groups for your VPC in the Amazon VPC User Guide .
Returns union: Listinvalid input: '<'either
StringorISecurityGroupRef>- See Also:
-
getSubnetIds
Provide one subnet ID for each Availability Zone that your domain uses.For example, you must specify three subnet IDs for a three-AZ domain. To learn more, see VPCs and subnets in the Amazon VPC User Guide .
If you specify more than one subnet, you must also configure
ZoneAwarenessEnabledandZoneAwarenessConfigwithin ClusterConfig , otherwise you'll see the error "You must specify exactly one subnet" during template creation.Returns union: Listinvalid input: '<'either
StringorISubnetRef>- See Also:
-
builder
-