Interface ICfnResolverEndpointProps
Properties for defining a CfnResolverEndpoint
.
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.AWS.Route53Resolver.dll
Syntax (csharp)
public interface ICfnResolverEndpointProps
Syntax (vb)
Public Interface ICfnResolverEndpointProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53Resolver;
var cfnResolverEndpointProps = new CfnResolverEndpointProps {
Direction = "direction",
IpAddresses = new [] { new IpAddressRequestProperty {
SubnetId = "subnetId",
// the properties below are optional
Ip = "ip",
Ipv6 = "ipv6"
} },
SecurityGroupIds = new [] { "securityGroupIds" },
// the properties below are optional
Name = "name",
OutpostArn = "outpostArn",
PreferredInstanceType = "preferredInstanceType",
ResolverEndpointType = "resolverEndpointType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Direction | Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:. |
IpAddresses | 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). |
Name | A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console. |
OutpostArn |
|
PreferredInstanceType |
|
ResolverEndpointType | The Resolver endpoint IP address type. |
SecurityGroupIds | The ID of one or more security groups that control access to this VPC. |
Tags | Route 53 Resolver doesn't support updating tags through CloudFormation. |
Properties
Direction
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
string Direction { get; }
Property Value
System.String
Remarks
IpAddresses
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).
object IpAddresses { get; }
Property Value
System.Object
Remarks
The subnet ID uniquely identifies a VPC.
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.
virtual string Name { get; }
Property Value
System.String
Remarks
OutpostArn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.
virtual string OutpostArn { get; }
Property Value
System.String
Remarks
PreferredInstanceType
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.
virtual string PreferredInstanceType { get; }
Property Value
System.String
Remarks
ResolverEndpointType
The Resolver endpoint IP address type.
virtual string ResolverEndpointType { get; }
Property Value
System.String
Remarks
SecurityGroupIds
The ID of one or more security groups that control access to this VPC.
string[] SecurityGroupIds { get; }
Property Value
System.String[]
Remarks
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.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]