Class CfnResolverEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverEndpoint>
- Enclosing class:
- CfnResolverEndpoint
@Stability(Stable)
public static final class CfnResolverEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverEndpoint>
A fluent builder for
CfnResolverEndpoint
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnResolverEndpoint.Builder
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.ipAddresses
(List<? extends Object> ipAddresses) 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).ipAddresses
(IResolvable ipAddresses) 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).A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.outpostArn
(String outpostArn) AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.preferredInstanceType
(String preferredInstanceType) AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.resolverEndpointType
(String resolverEndpointType) The Resolver endpoint IP address type.securityGroupIds
(List<String> securityGroupIds) The ID of one or more security groups that control access to this VPC.Route 53 Resolver doesn't support updating tags through CloudFormation.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnResolverEndpoint.Builder
.
-
direction
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
- Parameters:
direction
- Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. This parameter is required.- Returns:
this
-
ipAddresses
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.
- Parameters:
ipAddresses
- 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). This parameter is required.- Returns:
this
-
ipAddresses
@Stability(Stable) public CfnResolverEndpoint.Builder ipAddresses(List<? extends Object> ipAddresses) 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.
- Parameters:
ipAddresses
- 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). This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnResolverEndpoint.Builder securityGroupIds(List<String> securityGroupIds) 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.
- Parameters:
securityGroupIds
- The ID of one or more security groups that control access to this VPC. This parameter is required.- Returns:
this
-
name
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.- Parameters:
name
- A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. This parameter is required.- Returns:
this
-
outpostArn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.- Parameters:
outpostArn
-AWS::Route53Resolver::ResolverEndpoint.OutpostArn
. This parameter is required.- Returns:
this
-
preferredInstanceType
@Stability(Stable) public CfnResolverEndpoint.Builder preferredInstanceType(String preferredInstanceType) AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.- Parameters:
preferredInstanceType
-AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
. This parameter is required.- Returns:
this
-
resolverEndpointType
@Stability(Stable) public CfnResolverEndpoint.Builder resolverEndpointType(String resolverEndpointType) The Resolver endpoint IP address type.- Parameters:
resolverEndpointType
- The Resolver endpoint IP address type. This parameter is required.- Returns:
this
-
tags
Route 53 Resolver doesn't support updating tags through CloudFormation.- Parameters:
tags
- Route 53 Resolver doesn't support updating tags through CloudFormation. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverEndpoint>
- Returns:
- a newly built instance of
CfnResolverEndpoint
.
-