@Stability(value=Stable)
public static interface CfnResolverRule.TargetAddressProperty
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.*;
TargetAddressProperty targetAddressProperty = TargetAddressProperty.builder()
.ip("ip")
// the properties below are optional
.port("port")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResolverRule.TargetAddressProperty.Builder
A builder for
CfnResolverRule.TargetAddressProperty |
static class |
CfnResolverRule.TargetAddressProperty.Jsii$Proxy
An implementation for
CfnResolverRule.TargetAddressProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResolverRule.TargetAddressProperty.Builder |
builder() |
String |
getIp()
One IP address that you want to forward DNS queries to.
|
default String |
getPort()
The port at `Ip` that you want to forward DNS queries to.
|
@Stability(value=Stable) @NotNull String getIp()
You can specify only IPv4 addresses.
@Stability(value=Stable) @Nullable default String getPort()
@Stability(value=Stable) static CfnResolverRule.TargetAddressProperty.Builder builder()
Copyright © 2022. All rights reserved.