@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.714Z") @Stability(value=Stable) public interface CfnResolverEndpointProps extends software.amazon.jsii.JsiiSerializable
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")
.build()))
.securityGroupIds(List.of("securityGroupIds"))
// the properties below are optional
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResolverEndpointProps.Builder
A builder for
CfnResolverEndpointProps |
static class |
CfnResolverEndpointProps.Jsii$Proxy
An implementation for
CfnResolverEndpointProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResolverEndpointProps.Builder |
builder() |
String |
getDirection()
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
|
Object |
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).
|
default String |
getName()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
|
List<String> |
getSecurityGroupIds()
The ID of one or more security groups that control access to this VPC.
|
default List<CfnTag> |
getTags()
Route 53 Resolver doesn't support updating tags through CloudFormation.
|
@Stability(value=Stable) @NotNull String getDirection()
INBOUND : allows DNS queries to your VPC from your networkOUTBOUND : allows DNS queries from your VPC to your network@Stability(value=Stable) @NotNull Object getIpAddresses()
The subnet ID uniquely identifies a VPC.
@Stability(value=Stable) @NotNull List<String> getSecurityGroupIds()
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.
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnResolverEndpointProps.Builder builder()
CfnResolverEndpointProps.Builder of CfnResolverEndpointPropsCopyright © 2022. All rights reserved.