@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.703Z") @Stability(value=Stable) public class CfnResolverEndpoint extends CfnResource implements IInspectable
Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
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.*;
CfnResolverEndpoint cfnResolverEndpoint = CfnResolverEndpoint.Builder.create(this, "MyCfnResolverEndpoint")
.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 | Class and Description |
|---|---|
static class |
CfnResolverEndpoint.Builder
A fluent builder for
CfnResolverEndpoint. |
static interface |
CfnResolverEndpoint.IpAddressRequestProperty
In a [CreateResolverEndpoint](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html) request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnResolverEndpoint(software.constructs.Construct scope,
String id,
CfnResolverEndpointProps props)
Create a new `AWS::Route53Resolver::ResolverEndpoint`.
|
protected |
CfnResolverEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResolverEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the resolver endpoint, such as `arn:aws:route53resolver:us-east-1:123456789012:resolver-endpoint/resolver-endpoint-a1bzhi` .
|
String |
getAttrDirection()
Indicates whether the resolver endpoint allows inbound or outbound DNS queries.
|
String |
getAttrHostVpcId()
The ID of the VPC that you want to create the resolver endpoint in.
|
String |
getAttrIpAddressCount()
The number of IP addresses that the resolver endpoint can use for DNS queries.
|
String |
getAttrName()
The name that you assigned to the resolver endpoint when you created the endpoint.
|
String |
getAttrResolverEndpointId()
The ID of the resolver endpoint.
|
protected Map<String,Object> |
getCfnProperties() |
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).
|
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.
|
TagManager |
getTags()
Route 53 Resolver doesn't support updating tags through CloudFormation.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDirection(String value)
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
|
void |
setIpAddresses(IResolvable value)
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).
|
void |
setIpAddresses(List<Object> value)
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).
|
void |
setName(String value)
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
|
void |
setSecurityGroupIds(List<String> value)
The ID of one or more security groups that control access to this VPC.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResolverEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResolverEndpoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnResolverEndpointProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrDirection()
@Stability(value=Stable) @NotNull public String getAttrHostVpcId()
@Stability(value=Stable) @NotNull public String getAttrIpAddressCount()
@Stability(value=Stable) @NotNull public String getAttrName()
@Stability(value=Stable) @NotNull public String getAttrResolverEndpointId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getDirection()
INBOUND : allows DNS queries to your VPC from your networkOUTBOUND : allows DNS queries from your VPC to your network@Stability(value=Stable)
public void setDirection(@NotNull
String value)
INBOUND : allows DNS queries to your VPC from your networkOUTBOUND : allows DNS queries from your VPC to your network@Stability(value=Stable) @NotNull public Object getIpAddresses()
The subnet ID uniquely identifies a VPC.
@Stability(value=Stable)
public void setIpAddresses(@NotNull
IResolvable value)
The subnet ID uniquely identifies a VPC.
@Stability(value=Stable)
public void setIpAddresses(@NotNull
List<Object> value)
The subnet ID uniquely identifies a VPC.
@Stability(value=Stable) @NotNull public 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)
public void setSecurityGroupIds(@NotNull
List<String> value)
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 public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.