Class CfnResolverEndpointProps
Properties for defining a CfnResolverEndpoint
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.AWS.Route53Resolver.dll
Syntax (csharp)
public class CfnResolverEndpointProps : Object, ICfnResolverEndpointProps
Syntax (vb)
Public Class CfnResolverEndpointProps
Inherits Object
Implements 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
Constructors
CfnResolverEndpointProps() |
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. |
Constructors
CfnResolverEndpointProps()
public CfnResolverEndpointProps()
Properties
Direction
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
public string Direction { get; set; }
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).
public object IpAddresses { get; set; }
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.
public string Name { get; set; }
Property Value
System.String
Remarks
OutpostArn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.
public string OutpostArn { get; set; }
Property Value
System.String
Remarks
PreferredInstanceType
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.
public string PreferredInstanceType { get; set; }
Property Value
System.String
Remarks
ResolverEndpointType
The Resolver endpoint IP address type.
public string ResolverEndpointType { get; set; }
Property Value
System.String
Remarks
SecurityGroupIds
The ID of one or more security groups that control access to this VPC.
public string[] SecurityGroupIds { get; set; }
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.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]