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();
-
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
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.default String
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.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
-
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
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
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. -
getOutpostArn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
. -
getPreferredInstanceType
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
. -
getResolverEndpointType
The Resolver endpoint IP address type. -
getTags
Route 53 Resolver doesn't support updating tags through CloudFormation. -
builder
- Returns:
- a
CfnResolverEndpointProps.Builder
ofCfnResolverEndpointProps
-