Class CfnFirewallRuleGroupAssociation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroupAssociation
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IFirewallRuleGroupAssociationRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:28.540Z")
@Stability(Stable)
public class CfnFirewallRuleGroupAssociation
extends CfnResource
implements IInspectable, IFirewallRuleGroupAssociationRef, ITaggable
An association between a firewall rule group and a VPC, which enables DNS filtering for the VPC.
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.*;
CfnFirewallRuleGroupAssociation cfnFirewallRuleGroupAssociation = CfnFirewallRuleGroupAssociation.Builder.create(this, "MyCfnFirewallRuleGroupAssociation")
.firewallRuleGroupId("firewallRuleGroupId")
.priority(123)
.vpcId("vpcId")
// the properties below are optional
.mutationProtection("mutationProtection")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnFirewallRuleGroupAssociation.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.route53resolver.IFirewallRuleGroupAssociationRef
IFirewallRuleGroupAssociationRef.Jsii$Default, IFirewallRuleGroupAssociationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObjectRef objRef) CfnFirewallRuleGroupAssociation(software.constructs.Construct scope, String id, CfnFirewallRuleGroupAssociationProps props) Create a newAWS::Route53Resolver::FirewallRuleGroupAssociation. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the firewall rule group association.The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).A unique string defined by you to identify the request.The identifier for the association.The owner of the association, used only for associations that are not managed by you.The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).The current status of the association.Additional information about the status of the response, if available.A reference to a FirewallRuleGroupAssociation resource.The unique identifier of the firewall rule group.If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.getName()The name of the association.The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.getTags()Tag Manager which manages the tags for this resource.A list of the tag keys and values that you want to associate with the rule group.getVpcId()The unique identifier of the VPC that is associated with the rule group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnFirewallRuleGroupAssociation.renderProperties(Map<String, Object> props) voidsetFirewallRuleGroupId(String value) The unique identifier of the firewall rule group.voidsetMutationProtection(String value) If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.voidThe name of the association.voidsetPriority(Number value) The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.voidsetTagsRaw(List<CfnTag> value) A list of the tag keys and values that you want to associate with the rule group.voidThe unique identifier of the VPC that is associated with the rule group.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFirewallRuleGroupAssociation
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFirewallRuleGroupAssociation
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFirewallRuleGroupAssociation
@Stability(Stable) public CfnFirewallRuleGroupAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFirewallRuleGroupAssociationProps props) Create a newAWS::Route53Resolver::FirewallRuleGroupAssociation.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForFirewallRuleGroupAssociation
@Stability(Stable) @NotNull public static String arnForFirewallRuleGroupAssociation(@NotNull IFirewallRuleGroupAssociationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnFirewallRuleGroupAssociation
@Stability(Stable) @NotNull public static Boolean isCfnFirewallRuleGroupAssociation(@NotNull Object x) Checks whether the given object is a CfnFirewallRuleGroupAssociation.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the firewall rule group association. -
getAttrCreationTime
The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC). -
getAttrCreatorRequestId
A unique string defined by you to identify the request.This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
-
getAttrId
The identifier for the association. -
getAttrManagedOwnerName
The owner of the association, used only for associations that are not managed by you.If you use AWS Firewall Manager to manage your firewallls from DNS Firewall, then this reports Firewall Manager as the managed owner.
-
getAttrModificationTime
The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC). -
getAttrStatus
The current status of the association. -
getAttrStatusMessage
Additional information about the status of the response, if available. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFirewallRuleGroupAssociationRef
@Stability(Stable) @NotNull public FirewallRuleGroupAssociationReference getFirewallRuleGroupAssociationRef()A reference to a FirewallRuleGroupAssociation resource.- Specified by:
getFirewallRuleGroupAssociationRefin interfaceIFirewallRuleGroupAssociationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getFirewallRuleGroupId
The unique identifier of the firewall rule group. -
setFirewallRuleGroupId
The unique identifier of the firewall rule group. -
getPriority
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. -
setPriority
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. -
getVpcId
The unique identifier of the VPC that is associated with the rule group. -
setVpcId
The unique identifier of the VPC that is associated with the rule group. -
getMutationProtection
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. -
setMutationProtection
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. -
getName
The name of the association. -
setName
The name of the association. -
getTagsRaw
A list of the tag keys and values that you want to associate with the rule group. -
setTagsRaw
A list of the tag keys and values that you want to associate with the rule group.
-