@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:20:00.149Z") public class CfnResolverRuleAssociation extends CfnResource implements IInspectable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53resolver.*; CfnResolverRuleAssociation cfnResolverRuleAssociation = CfnResolverRuleAssociation.Builder.create(this, "MyCfnResolverRuleAssociation") .resolverRuleId("resolverRuleId") .vpcId("vpcId") // the properties below are optional .name("name") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnResolverRuleAssociation.Builder
A fluent builder for
CfnResolverRuleAssociation . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnResolverRuleAssociation(Construct scope,
java.lang.String id,
CfnResolverRuleAssociationProps props)
Create a new `AWS::Route53Resolver::ResolverRuleAssociation`.
|
protected |
CfnResolverRuleAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResolverRuleAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrName()
The name of an association between a resolver rule and a VPC, such as `test.example.com in beta VPC` .
|
java.lang.String |
getAttrResolverRuleAssociationId()
The ID of the resolver rule association that you want to get information about, such as `rslvr-rrassoc-97242eaf88example` .
|
java.lang.String |
getAttrResolverRuleId()
The ID of the resolver rule that you associated with the VPC that is specified by `VPCId` , such as `rslvr-rr-5328a0899example` .
|
java.lang.String |
getAttrVpcId()
The ID of the VPC that you associated the resolver rule with, such as `vpc-03cf94c75cexample` .
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getName()
The name of an association between a Resolver rule and a VPC.
|
java.lang.String |
getResolverRuleId()
The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .
|
java.lang.String |
getVpcId()
The ID of the VPC that you associated the Resolver rule with.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setName(java.lang.String value)
The name of an association between a Resolver rule and a VPC.
|
void |
setResolverRuleId(java.lang.String value)
The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .
|
void |
setVpcId(java.lang.String value)
The ID of the VPC that you associated the Resolver rule with.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnResolverRuleAssociation(Construct scope, java.lang.String id, CfnResolverRuleAssociationProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrName()
public java.lang.String getAttrResolverRuleAssociationId()
public java.lang.String getAttrResolverRuleId()
public java.lang.String getAttrVpcId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getResolverRuleId()
public void setResolverRuleId(java.lang.String value)
public java.lang.String getVpcId()
public void setVpcId(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)