@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.718Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnResolverRuleAssociation(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrName()
The name of an association between a resolver rule and a VPC, such as `test.example.com in beta VPC` .
|
String |
getAttrResolverRuleAssociationId()
The ID of the resolver rule association that you want to get information about, such as `rslvr-rrassoc-97242eaf88example` .
|
String |
getAttrResolverRuleId()
The ID of the resolver rule that you associated with the VPC that is specified by `VPCId` , such as `rslvr-rr-5328a0899example` .
|
String |
getAttrVpcId()
The ID of the VPC that you associated the resolver rule with, such as `vpc-03cf94c75cexample` .
|
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
The name of an association between a Resolver rule and a VPC.
|
String |
getResolverRuleId()
The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setName(String value)
The name of an association between a Resolver rule and a VPC.
|
void |
setResolverRuleId(String value)
The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .
|
void |
setVpcId(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResolverRuleAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrName()
@Stability(value=Stable) @NotNull public String getAttrResolverRuleAssociationId()
@Stability(value=Stable) @NotNull public String getAttrResolverRuleId()
@Stability(value=Stable) @NotNull public String getAttrVpcId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getResolverRuleId()
@Stability(value=Stable)
public void setResolverRuleId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.