Interface CfnResolverEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResolverEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:15.467Z")
@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") .protocols(List.of("protocols")) .resolverEndpointType("resolverEndpointType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResolverEndpointProps
static final class
An implementation forCfnResolverEndpointProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.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).default String
getName()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.default String
The ARN (Amazon Resource Name) for the Outpost.default String
The Amazon EC2 instance type.Protocols used for the endpoint.default String
The Resolver endpoint IP address type.The ID of one or more security groups that control access to this VPC.getTags()
Route 53 Resolver doesn't support updating tags through CloudFormation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDirection
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.INBOUND
: allows DNS queries to your VPC from your networkOUTBOUND
: allows DNS queries from your VPC to your network
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getName
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.- See Also:
-
getOutpostArn
The ARN (Amazon Resource Name) for the Outpost.- See Also:
-
getPreferredInstanceType
The Amazon EC2 instance type.- See Also:
-
getProtocols
Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 and DoH-FIPS in combination.
- Do53 alone.
- DoH alone.
- DoH-FIPS alone.
- None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 alone.
- DoH alone.
- None, which is treated as Do53.
- See Also:
-
getResolverEndpointType
The Resolver endpoint IP address type.- See Also:
-
getTags
Route 53 Resolver doesn't support updating tags through CloudFormation.- See Also:
-
builder
- Returns:
- a
CfnResolverEndpointProps.Builder
ofCfnResolverEndpointProps
-