Interface CfnVpcEndpointProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVpcEndpointProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.560Z") @Stability(Stable) public interface CfnVpcEndpointProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnVpcEndpoint.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.opensearchserverless.*;
 CfnVpcEndpointProps cfnVpcEndpointProps = CfnVpcEndpointProps.builder()
         .name("name")
         .subnetIds(List.of("subnetIds"))
         .vpcId("vpcId")
         // the properties below are optional
         .securityGroupIds(List.of("securityGroupIds"))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the endpoint.
    • getSubnetIds

      @Stability(Stable) @NotNull List<String> getSubnetIds()
      The ID of the subnets from which you access OpenSearch Serverless.
    • getVpcId

      @Stability(Stable) @NotNull String getVpcId()
      The ID of the VPC from which you access OpenSearch Serverless.
    • getSecurityGroupIds

      @Stability(Stable) @Nullable default List<String> getSecurityGroupIds()
      The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
    • builder

      @Stability(Stable) static CfnVpcEndpointProps.Builder builder()
      Returns:
      a CfnVpcEndpointProps.Builder of CfnVpcEndpointProps