Class CfnFirewallRuleGroup
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.CfnFirewallRuleGroup
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:40.504Z")
@Stability(Stable)
public class CfnFirewallRuleGroup
extends CfnResource
implements IInspectable, ITaggable
High-level information for a firewall rule group.
A firewall rule group is a collection of rules that DNS Firewall uses to filter DNS network traffic for a VPC. To retrieve the rules for the rule group, call ListFirewallRules .
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.*; CfnFirewallRuleGroup cfnFirewallRuleGroup = CfnFirewallRuleGroup.Builder.create(this, "MyCfnFirewallRuleGroup") .firewallRules(List.of(FirewallRuleProperty.builder() .action("action") .priority(123) // the properties below are optional .blockOverrideDnsType("blockOverrideDnsType") .blockOverrideDomain("blockOverrideDomain") .blockOverrideTtl(123) .blockResponse("blockResponse") .confidenceThreshold("confidenceThreshold") .dnsThreatProtection("dnsThreatProtection") .firewallDomainListId("firewallDomainListId") .firewallDomainRedirectionAction("firewallDomainRedirectionAction") .firewallThreatProtectionId("firewallThreatProtectionId") .qtype("qtype") .build())) .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnFirewallRuleGroup
.static interface
A single firewall rule in a rule group.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnFirewallRuleGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFirewallRuleGroup
(software.amazon.jsii.JsiiObjectRef objRef) CfnFirewallRuleGroup
(software.constructs.Construct scope, String id) CfnFirewallRuleGroup
(software.constructs.Construct scope, String id, CfnFirewallRuleGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN (Amazon Resource Name) of the rule group.The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).A unique string defined by you to identify the request.The ID of the rule group.The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).The AWS account ID for the account that created the rule group.The number of rules in the rule group.Whether the rule group is shared with other AWS accounts , or was shared with the current account by another AWS account .The status of the domain list.Additional information about the status of the rule group, if available.A list of the rules that you have defined.getName()
The name of the rule group.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setFirewallRules
(List<Object> value) A list of the rules that you have defined.void
setFirewallRules
(IResolvable value) A list of the rules that you have defined.void
The name of the rule group.void
setTagsRaw
(List<CfnTag> value) A list of the tag keys and values that you want to associate 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnFirewallRuleGroup
protected CfnFirewallRuleGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFirewallRuleGroup
protected CfnFirewallRuleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFirewallRuleGroup
@Stability(Stable) public CfnFirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnFirewallRuleGroupProps props) - 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.
-
CfnFirewallRuleGroup
@Stability(Stable) public CfnFirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id) - 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.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The ARN (Amazon Resource Name) of the rule group. -
getAttrCreationTime
The date and time that the rule group 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 ID of the rule group. -
getAttrModificationTime
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC). -
getAttrOwnerId
The AWS account ID for the account that created the rule group.When a rule group is shared with your account, this is the account that has shared the rule group with you.
-
getAttrRuleCount
The number of rules in the rule group. -
getAttrStatus
The status of the domain list. -
getAttrStatusMessage
Additional information about the status of the rule group, if available. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getFirewallRules
A list of the rules that you have defined. -
setFirewallRules
A list of the rules that you have defined. -
setFirewallRules
A list of the rules that you have defined. -
getName
The name of the rule group. -
setName
The name of the rule group. -
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.
-