Class CfnResolverEndpoint
Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResolverEndpoint : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnResolverEndpoint
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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",
Protocols = new [] { "protocols" },
ResolverEndpointType = "resolverEndpointType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
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 |
CfnResolverEndpoint(Construct, String, ICfnResolverEndpointProps) |
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 | |
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 | The ARN (Amazon Resource Name) for the Outpost. |
PreferredInstanceType | The Amazon EC2 instance type. |
Protocols | Protocols used for the endpoint. |
ResolverEndpointType | The Resolver endpoint IP address type. |
SecurityGroupIds | The ID of one or more security groups that control access to this VPC. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | 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(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
CfnResolverEndpoint(Construct, String, ICfnResolverEndpointProps)
public CfnResolverEndpoint(Construct scope, string id, ICfnResolverEndpointProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnResolverEndpointProps
Resource properties.
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
public virtual string AttrResolverEndpointType { get; }
Property Value
System.String
Remarks
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
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
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
OutpostArn
The ARN (Amazon Resource Name) for the Outpost.
public virtual string OutpostArn { get; set; }
Property Value
System.String
PreferredInstanceType
The Amazon EC2 instance type.
public virtual string PreferredInstanceType { get; set; }
Property Value
System.String
Protocols
Protocols used for the endpoint.
public virtual string[] Protocols { get; set; }
Property Value
System.String[]
Remarks
DoH-FIPS is applicable for inbound endpoints only.
ResolverEndpointType
The Resolver endpoint IP address type.
public virtual string ResolverEndpointType { get; set; }
Property Value
System.String
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[]
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Route 53 Resolver doesn't support updating tags through CloudFormation.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>