Class CfnResolverEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnResolverEndpoint
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:04.577Z")
@Stability(Stable)
public class CfnResolverEndpoint
extends CfnResource
implements IInspectable, ITaggable
Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:.
- An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.
- An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
- You cannot update
ResolverEndpointType
andIpAddresses
in the same request.- When you update a dual-stack IP address, you must update both IP addresses. You can’t update only an IPv4 or IPv6 and keep an existing IP address.
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") .ipv6("ipv6") .build())) .securityGroupIds(List.of("securityGroupIds")) // the properties below are optional .name("name") .outpostArn("outpostArn") .preferredInstanceType("preferredInstanceType") .protocols(List.of("protocols")) .resolverEndpointType("resolverEndpointType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnResolverEndpoint
.static interface
In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnResolverEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnResolverEndpoint
(software.amazon.jsii.JsiiObjectRef objRef) CfnResolverEndpoint
(software.constructs.Construct scope, String id, CfnResolverEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resolver endpoint, such asarn:aws:route53resolver:us-east-1:123456789012:resolver-endpoint/resolver-endpoint-a1bzhi
.Indicates whether the resolver endpoint allows inbound or outbound DNS queries.The ID of the VPC that you want to create the resolver endpoint in.The number of IP addresses that the resolver endpoint can use for DNS queries.The name that you assigned to the resolver endpoint when you created the endpoint.The ID of the resolver endpoint.Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.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).getName()
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.The ARN (Amazon Resource Name) for the Outpost.The Amazon EC2 instance type.Protocols used for the endpoint.The Resolver endpoint IP address type.The ID of one or more security groups that control access to this VPC.getTags()
Tag Manager which manages the tags for this resource.Route 53 Resolver doesn't support updating tags through CloudFormation.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDirection
(String value) Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.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
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
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.void
setOutpostArn
(String value) The ARN (Amazon Resource Name) for the Outpost.void
setPreferredInstanceType
(String value) The Amazon EC2 instance type.void
setProtocols
(List<String> value) Protocols used for the endpoint.void
setResolverEndpointType
(String value) The Resolver endpoint IP address type.void
setSecurityGroupIds
(List<String> value) The ID of one or more security groups that control access to this VPC.void
setTagsRaw
(List<CfnTag> value) Route 53 Resolver doesn't support updating tags through CloudFormation.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnResolverEndpoint
protected CfnResolverEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnResolverEndpoint
protected CfnResolverEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnResolverEndpoint
@Stability(Stable) public CfnResolverEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnResolverEndpointProps props) - 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.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the resolver endpoint, such asarn:aws:route53resolver:us-east-1:123456789012:resolver-endpoint/resolver-endpoint-a1bzhi
. -
getAttrDirection
Indicates whether the resolver endpoint allows inbound or outbound DNS queries. -
getAttrHostVpcId
The ID of the VPC that you want to create the resolver endpoint in. -
getAttrIpAddressCount
The number of IP addresses that the resolver endpoint can use for DNS queries. -
getAttrName
The name that you assigned to the resolver endpoint when you created the endpoint. -
getAttrOutpostArn
-
getAttrPreferredInstanceType
-
getAttrResolverEndpointId
The ID of the resolver endpoint. -
getAttrResolverEndpointType
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDirection
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. -
setDirection
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. -
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). -
setIpAddresses
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). -
setIpAddresses
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). -
getSecurityGroupIds
The ID of one or more security groups that control access to this VPC. -
setSecurityGroupIds
The ID of one or more security groups that control access to this VPC. -
getName
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. -
setName
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. -
getOutpostArn
The ARN (Amazon Resource Name) for the Outpost. -
setOutpostArn
The ARN (Amazon Resource Name) for the Outpost. -
getPreferredInstanceType
The Amazon EC2 instance type. -
setPreferredInstanceType
The Amazon EC2 instance type. -
getProtocols
Protocols used for the endpoint.DoH-FIPS is applicable for inbound endpoints only.
-
setProtocols
Protocols used for the endpoint.DoH-FIPS is applicable for inbound endpoints only.
-
getResolverEndpointType
The Resolver endpoint IP address type. -
setResolverEndpointType
The Resolver endpoint IP address type. -
getTagsRaw
Route 53 Resolver doesn't support updating tags through CloudFormation. -
setTagsRaw
Route 53 Resolver doesn't support updating tags through CloudFormation.
-