Interface CfnResolverEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResolverEndpointProps.Jsii$Proxy
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")
.rniEnhancedMetricsEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetNameServerMetricsEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResolverEndpointPropsstatic final classAn 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 StringgetName()A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.default StringThe ARN (Amazon Resource Name) for the Outpost.default StringThe Amazon EC2 instance type.Protocols used for the endpoint.default StringThe Resolver endpoint IP address type.default ObjectIndicates whether RNI enhanced metrics are enabled for the Resolver endpoint.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.default ObjectIndicates whether target name server metrics are enabled for the outbound Resolver endpoint.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 networkINBOUND_DELEGATION: Resolver delegates queries to Route 53 private hosted zones from 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResolverEndpoint.IpAddressRequestProperty>- 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 a default 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 a delegation inbound endpoint you can use Do53 only.
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:
-
getRniEnhancedMetricsEnabled
Indicates whether RNI enhanced metrics are enabled for the Resolver endpoint.When enabled, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When disabled, these metrics are not published.
Returns union: either
BooleanorIResolvable- See Also:
-
getTags
Route 53 Resolver doesn't support updating tags through CloudFormation.- See Also:
-
getTargetNameServerMetricsEnabled
Indicates whether target name server metrics are enabled for the outbound Resolver endpoint.When enabled, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When disabled, these metrics are not published. This feature is not supported for inbound Resolver endpoint.
Returns union: either
BooleanorIResolvable- See Also:
-
builder
- Returns:
- a
CfnResolverEndpointProps.BuilderofCfnResolverEndpointProps
-