Interface InterfaceVpcEndpointAttributes

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.428Z") @Stability(Stable) public interface InterfaceVpcEndpointAttributes extends software.amazon.jsii.JsiiSerializable
Construction properties for an ImportedInterfaceVpcEndpoint.

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.ec2.*;
 SecurityGroup securityGroup;
 InterfaceVpcEndpointAttributes interfaceVpcEndpointAttributes = InterfaceVpcEndpointAttributes.builder()
         .port(123)
         .vpcEndpointId("vpcEndpointId")
         // the properties below are optional
         .securityGroupId("securityGroupId")
         .securityGroups(List.of(securityGroup))
         .build();
 
  • Method Details

    • getPort

      @Stability(Stable) @NotNull Number getPort()
      The port of the service of the interface VPC endpoint.
    • getVpcEndpointId

      @Stability(Stable) @NotNull String getVpcEndpointId()
      The interface VPC endpoint identifier.
    • getSecurityGroupId

      @Stability(Deprecated) @Deprecated @Nullable default String getSecurityGroupId()
      Deprecated.
      use securityGroups instead
      (deprecated) The identifier of the security group associated with the interface VPC endpoint.

    • getSecurityGroups

      @Stability(Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
      The security groups associated with the interface VPC endpoint.
    • builder

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