CfnResolverEndpointProps
- class aws_cdk.aws_route53resolver.CfnResolverEndpointProps(*, direction, ip_addresses, security_group_ids, name=None, outpost_arn=None, preferred_instance_type=None, resolver_endpoint_type=None, tags=None)
Bases:
object
Properties for defining a
CfnResolverEndpoint
.- Parameters:
direction (
str
) – Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. -INBOUND
: allows DNS queries to your VPC from your network -OUTBOUND
: allows DNS queries from your VPC to your networkip_addresses (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,IpAddressRequestProperty
,Dict
[str
,Any
]]]]) – 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). The subnet ID uniquely identifies a VPC. .. epigraph:: Even though the minimum is 1, Route 53 requires that you create at least two.security_group_ids (
Sequence
[str
]) – The ID of one or more security groups that control access to this VPC. 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.name (
Optional
[str
]) – A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.outpost_arn (
Optional
[str
]) –AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.preferred_instance_type (
Optional
[str
]) –AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.resolver_endpoint_type (
Optional
[str
]) – The Resolver endpoint IP address type.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Route 53 Resolver doesn’t support updating tags through CloudFormation.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_route53resolver as route53resolver cfn_resolver_endpoint_props = route53resolver.CfnResolverEndpointProps( direction="direction", ip_addresses=[route53resolver.CfnResolverEndpoint.IpAddressRequestProperty( subnet_id="subnetId", # the properties below are optional ip="ip", ipv6="ipv6" )], security_group_ids=["securityGroupIds"], # the properties below are optional name="name", outpost_arn="outpostArn", preferred_instance_type="preferredInstanceType", resolver_endpoint_type="resolverEndpointType", tags=[CfnTag( key="key", value="value" )] )
Attributes
- direction
.
INBOUND
: allows DNS queries to your VPC from your networkOUTBOUND
: allows DNS queries from your VPC to your network
- Link:
- Type:
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries
- ip_addresses
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).
The subnet ID uniquely identifies a VPC. .. epigraph:
Even though the minimum is 1, Route 53 requires that you create at least two.
- name
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
- outpost_arn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.
- preferred_instance_type
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.
- resolver_endpoint_type
The Resolver endpoint IP address type.
- security_group_ids
The ID of one or more security groups that control access to this VPC.
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.
- tags
Route 53 Resolver doesn’t support updating tags through CloudFormation.