Interface CfnResolverEndpointProps

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

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

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.route53resolver.*;
 CfnResolverEndpointProps cfnResolverEndpointProps = CfnResolverEndpointProps.builder()
         .direction("direction")
         .ipAddresses(List.of(IpAddressRequestProperty.builder()
                 .subnetId("subnetId")
                 // the properties below are optional
                 .ip("ip")
                 .ipv6("ipv6")
                 .build()))
         .securityGroupIds(List.of("securityGroupIds"))
         // the properties below are optional
         .name("name")
         .outpostArn("outpostArn")
         .preferredInstanceType("preferredInstanceType")
         .resolverEndpointType("resolverEndpointType")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDirection

      @Stability(Stable) @NotNull String getDirection()
      Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.

      • INBOUND : allows DNS queries to your VPC from your network
      • OUTBOUND : allows DNS queries from your VPC to your network
    • getIpAddresses

      @Stability(Stable) @NotNull Object getIpAddresses()
      The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).

      The subnet ID uniquely identifies a VPC.

      Even though the minimum is 1, RouteĀ 53 requires that you create at least two.

    • getSecurityGroupIds

      @Stability(Stable) @NotNull List<String> getSecurityGroupIds()
      The ID of one or more security groups that control access to this VPC.

      The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.

    • getName

      @Stability(Stable) @Nullable default String getName()
      A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
    • getOutpostArn

      @Stability(Stable) @Nullable default String getOutpostArn()
      AWS::Route53Resolver::ResolverEndpoint.OutpostArn.
    • getPreferredInstanceType

      @Stability(Stable) @Nullable default String getPreferredInstanceType()
      AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType.
    • getResolverEndpointType

      @Stability(Stable) @Nullable default String getResolverEndpointType()
      The Resolver endpoint IP address type.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Route 53 Resolver doesn't support updating tags through CloudFormation.
    • builder

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