Class CfnResolverRuleAssociation
A CloudFormation AWS::Route53Resolver::ResolverRuleAssociation
.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.AWS.Route53Resolver.dll
Syntax (csharp)
public class CfnResolverRuleAssociation : CfnResource, IConstruct, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnResolverRuleAssociation
Inherits CfnResource
Implements IConstruct, IConstruct, IDependable, IInspectable
Remarks
In the response to an AssociateResolverRule , DisassociateResolverRule , or ListResolverRuleAssociations request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
CloudformationResource: AWS::Route53Resolver::ResolverRuleAssociation
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;
CfnResolverRuleAssociation cfnResolverRuleAssociation = new CfnResolverRuleAssociation(this, "MyCfnResolverRuleAssociation", new CfnResolverRuleAssociationProps {
ResolverRuleId = "resolverRuleId",
VpcId = "vpcId",
// the properties below are optional
Name = "name"
});
Synopsis
Constructors
CfnResolverRuleAssociation(Construct, String, ICfnResolverRuleAssociationProps) | Create a new |
CfnResolverRuleAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResolverRuleAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrName | The name of an association between a resolver rule and a VPC, such as |
AttrResolverRuleAssociationId | The ID of the resolver rule association that you want to get information about, such as |
AttrResolverRuleId | The ID of the resolver rule that you associated with the VPC that is specified by |
AttrVpcId | The ID of the VPC that you associated the resolver rule with, such as |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Name | The name of an association between a Resolver rule and a VPC. |
ResolverRuleId | The ID of the Resolver rule that you associated with the VPC that is specified by |
VpcId | The ID of the VPC that you associated the Resolver rule with. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResolverRuleAssociation(Construct, String, ICfnResolverRuleAssociationProps)
Create a new AWS::Route53Resolver::ResolverRuleAssociation
.
public CfnResolverRuleAssociation(Construct scope, string id, ICfnResolverRuleAssociationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnResolverRuleAssociationProps
- resource properties.
CfnResolverRuleAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResolverRuleAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResolverRuleAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResolverRuleAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrName
The name of an association between a resolver rule and a VPC, such as test.example.com in beta VPC
.
public virtual string AttrName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Name
AttrResolverRuleAssociationId
The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example
.
public virtual string AttrResolverRuleAssociationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResolverRuleAssociationId
AttrResolverRuleId
The ID of the resolver rule that you associated with the VPC that is specified by VPCId
, such as rslvr-rr-5328a0899example
.
public virtual string AttrResolverRuleId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResolverRuleId
AttrVpcId
The ID of the VPC that you associated the resolver rule with, such as vpc-03cf94c75cexample
.
public virtual string AttrVpcId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: VPCId
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
Name
The name of an association between a Resolver rule and a VPC.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
ResolverRuleId
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
public virtual string ResolverRuleId { get; set; }
Property Value
System.String
Remarks
VpcId
The ID of the VPC that you associated the Resolver rule with.
public virtual string VpcId { get; set; }
Property Value
System.String
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>