@Stability(value=Stable) public static final class CfnResolverEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<CfnResolverEndpointProps>
CfnResolverEndpointProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResolverEndpointProps |
build()
Builds the configured instance.
|
CfnResolverEndpointProps.Builder |
direction(String direction)
Sets the value of
CfnResolverEndpointProps.getDirection() |
CfnResolverEndpointProps.Builder |
ipAddresses(IResolvable ipAddresses)
Sets the value of
CfnResolverEndpointProps.getIpAddresses() |
CfnResolverEndpointProps.Builder |
ipAddresses(List<? extends Object> ipAddresses)
Sets the value of
CfnResolverEndpointProps.getIpAddresses() |
CfnResolverEndpointProps.Builder |
name(String name)
Sets the value of
CfnResolverEndpointProps.getName() |
CfnResolverEndpointProps.Builder |
securityGroupIds(List<String> securityGroupIds)
Sets the value of
CfnResolverEndpointProps.getSecurityGroupIds() |
CfnResolverEndpointProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnResolverEndpointProps.getTags() |
@Stability(value=Stable) public CfnResolverEndpointProps.Builder direction(String direction)
CfnResolverEndpointProps.getDirection()direction - Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. This parameter is required.
INBOUND : allows DNS queries to your VPC from your networkOUTBOUND : allows DNS queries from your VPC to your networkthis@Stability(value=Stable) public CfnResolverEndpointProps.Builder ipAddresses(IResolvable ipAddresses)
CfnResolverEndpointProps.getIpAddresses()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.
The subnet ID uniquely identifies a VPC.this@Stability(value=Stable) public CfnResolverEndpointProps.Builder ipAddresses(List<? extends Object> ipAddresses)
CfnResolverEndpointProps.getIpAddresses()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.
The subnet ID uniquely identifies a VPC.this@Stability(value=Stable) public CfnResolverEndpointProps.Builder securityGroupIds(List<String> securityGroupIds)
CfnResolverEndpointProps.getSecurityGroupIds()securityGroupIds - The ID of one or more security groups that control access to this VPC. This parameter is required.
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.this@Stability(value=Stable) public CfnResolverEndpointProps.Builder name(String name)
CfnResolverEndpointProps.getName()name - A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.this@Stability(value=Stable) public CfnResolverEndpointProps.Builder tags(List<? extends CfnTag> tags)
CfnResolverEndpointProps.getTags()tags - Route 53 Resolver doesn't support updating tags through CloudFormation.this@Stability(value=Stable) public CfnResolverEndpointProps build()
build in interface software.amazon.jsii.Builder<CfnResolverEndpointProps>CfnResolverEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.