Class CfnResolverEndpoint
A CloudFormation AWS::Route53Resolver::ResolverEndpoint
.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.AWS.Route53Resolver.dll
Syntax (csharp)
public class CfnResolverEndpoint : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnResolverEndpoint
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
CloudformationResource: AWS::Route53Resolver::ResolverEndpoint
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 cfnResolverEndpoint = new CfnResolverEndpoint(this, "MyCfnResolverEndpoint", 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
CfnResolverEndpoint(Construct, String, ICfnResolverEndpointProps) | Create a new |
CfnResolverEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResolverEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name (ARN) of the resolver endpoint, such as |
AttrDirection | Indicates whether the resolver endpoint allows inbound or outbound DNS queries. |
AttrHostVpcId | The ID of the VPC that you want to create the resolver endpoint in. |
AttrIpAddressCount | The number of IP addresses that the resolver endpoint can use for DNS queries. |
AttrName | The name that you assigned to the resolver endpoint when you created the endpoint. |
AttrOutpostArn | |
AttrPreferredInstanceType | |
AttrResolverEndpointId | The ID of the resolver endpoint. |
AttrResolverEndpointType | For the endpoint type you can choose either IPv4, IPv6. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResolverEndpoint(Construct, String, ICfnResolverEndpointProps)
Create a new AWS::Route53Resolver::ResolverEndpoint
.
public CfnResolverEndpoint(Construct scope, string id, ICfnResolverEndpointProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnResolverEndpointProps
- resource properties.
CfnResolverEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResolverEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResolverEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResolverEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) of the resolver endpoint, such as arn:aws:route53resolver:us-east-1:123456789012:resolver-endpoint/resolver-endpoint-a1bzhi
.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrDirection
Indicates whether the resolver endpoint allows inbound or outbound DNS queries.
public virtual string AttrDirection { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Direction
AttrHostVpcId
The ID of the VPC that you want to create the resolver endpoint in.
public virtual string AttrHostVpcId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: HostVPCId
AttrIpAddressCount
The number of IP addresses that the resolver endpoint can use for DNS queries.
public virtual string AttrIpAddressCount { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpAddressCount
AttrName
The name that you assigned to the resolver endpoint when you created the endpoint.
public virtual string AttrName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Name
AttrOutpostArn
public virtual string AttrOutpostArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: OutpostArn
AttrPreferredInstanceType
public virtual string AttrPreferredInstanceType { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PreferredInstanceType
AttrResolverEndpointId
The ID of the resolver endpoint.
public virtual string AttrResolverEndpointId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResolverEndpointId
AttrResolverEndpointType
For the endpoint type you can choose either IPv4, IPv6.
public virtual string AttrResolverEndpointType { get; }
Property Value
System.String
Remarks
or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. If you choose either IPv4 or IPv6, this endpoint type is applied to all IP addresses.
CloudformationAttribute: ResolverEndpointType
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Direction
Indicates whether the Resolver endpoint allows inbound or outbound DNS queries:.
public virtual 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 virtual 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 virtual string Name { get; set; }
Property Value
System.String
Remarks
OutpostArn
AWS::Route53Resolver::ResolverEndpoint.OutpostArn
.
public virtual string OutpostArn { get; set; }
Property Value
System.String
Remarks
PreferredInstanceType
AWS::Route53Resolver::ResolverEndpoint.PreferredInstanceType
.
public virtual string PreferredInstanceType { get; set; }
Property Value
System.String
Remarks
ResolverEndpointType
The Resolver endpoint IP address type.
public virtual 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 virtual 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 virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>