DomainVpcOptions

data class DomainVpcOptions(val securityGroupIds: List<String>? = null, val subnetIds: List<String>? = null)

Constructors

Link copied to clipboard
constructor(securityGroupIds: List<String>? = null, subnetIds: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 .

Link copied to clipboard
val subnetIds: List<String>? = null

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 ZoneAwarenessEnabled and ZoneAwarenessConfig within ClusterConfig , otherwise you'll see the error "You must specify exactly one subnet" during template creation.