aws::opensearch-serverless-vpc-endpoint

Create an OpenSearch Serverless VPC endpoint.

Example

aws::opensearch-serverless-vpc-endpoint vpc-endpoint
    name: "opensearch-serverless-vpc-endpoint-example"
    vpc: $(aws::vpc vpc-example)
    subnets: [
        $(aws::subnet subnet-example-1),
        $(aws::subnet subnet-example-2)
    ]
    security-groups: [
        $(aws::security-group security-group-example-1),
        $(aws::security-group security-group-example-2)
    ]
end

Attributes

Attribute Description
name The name of the VPC endpoint. (Required)
subnets set The subnets in which the VPC endpoint will be created.
security-groups set The security groups that will be associated with the VPC endpoint.
vpc The VPC in which the VPC endpoint will be created. (Required)

Outputs

Attribute Description
id The ID of the VPC endpoint.