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) The ARN (Amazon Resource Name) for the Outpost.preferredInstanceType
(String preferredInstanceType) The Amazon EC2 instance type.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
@Stability(Stable) public static CfnResolverEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
outpostArn
The ARN (Amazon Resource Name) for the Outpost.- Parameters:
outpostArn
- The ARN (Amazon Resource Name) for the Outpost. This parameter is required.- Returns:
this
- See Also:
-
preferredInstanceType
@Stability(Stable) public CfnResolverEndpoint.Builder preferredInstanceType(String preferredInstanceType) The Amazon EC2 instance type.- Parameters:
preferredInstanceType
- The Amazon EC2 instance type. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverEndpoint>
- Returns:
- a newly built instance of
CfnResolverEndpoint
.
-