Class FirewallRuleGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.route53resolver.FirewallRuleGroup
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IFirewallRuleGroup
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.410Z")
@Stability(Experimental)
public class FirewallRuleGroup
extends Resource
implements IFirewallRuleGroup
(experimental) A Firewall Rule Group.
Example:
FirewallDomainList myBlockList; FirewallRuleGroup.Builder.create(this, "RuleGroup") .rules(List.of(FirewallRule.builder() .priority(10) .firewallDomainList(myBlockList) // block and reply with NODATA .action(FirewallRuleAction.block()) .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forFirewallRuleGroup
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.route53resolver.IFirewallRuleGroup
IFirewallRuleGroup.Jsii$Default, IFirewallRuleGroup.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
FirewallRuleGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
FirewallRuleGroup
(software.amazon.jsii.JsiiObjectRef objRef) FirewallRuleGroup
(software.constructs.Construct scope, String id) FirewallRuleGroup
(software.constructs.Construct scope, String id, FirewallRuleGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionaddRule
(FirewallRule rule) (experimental) Adds a rule to this group.associate
(String id, FirewallRuleGroupAssociationOptions props) (experimental) Associates this Firewall Rule Group with a VPC.static IFirewallRuleGroup
fromFirewallRuleGroupId
(software.constructs.Construct scope, String id, String firewallRuleGroupId) (experimental) Import an existing Firewall Rule Group.(experimental) The ARN (Amazon Resource Name) of the rule group.(experimental) The date and time that the rule group was created.(experimental) The creator request ID.(experimental) The ID of the rule group.(experimental) The date and time that the rule group was last modified.(experimental) The AWS account ID for the account that created the rule group.(experimental) The number of rules in the rule group.(experimental) Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account.(experimental) The status of the rule group.(experimental) Additional information about the status of the rule group.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
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.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
FirewallRuleGroup
protected FirewallRuleGroup(software.amazon.jsii.JsiiObjectRef objRef) -
FirewallRuleGroup
protected FirewallRuleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
FirewallRuleGroup
@Stability(Experimental) public FirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable FirewallRuleGroupProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
FirewallRuleGroup
@Stability(Experimental) public FirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
fromFirewallRuleGroupId
@Stability(Experimental) @NotNull public static IFirewallRuleGroup fromFirewallRuleGroupId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String firewallRuleGroupId) (experimental) Import an existing Firewall Rule Group.- Parameters:
scope
- This parameter is required.id
- This parameter is required.firewallRuleGroupId
- This parameter is required.
-
addRule
(experimental) Adds a rule to this group.- Parameters:
rule
- This parameter is required.
-
associate
@Stability(Experimental) @NotNull public FirewallRuleGroupAssociation associate(@NotNull String id, @NotNull FirewallRuleGroupAssociationOptions props) (experimental) Associates this Firewall Rule Group with a VPC.- Parameters:
id
- This parameter is required.props
- This parameter is required.
-
getFirewallRuleGroupArn
(experimental) The ARN (Amazon Resource Name) of the rule group. -
getFirewallRuleGroupCreationTime
(experimental) The date and time that the rule group was created. -
getFirewallRuleGroupCreatorRequestId
(experimental) The creator request ID. -
getFirewallRuleGroupId
(experimental) The ID of the rule group.- Specified by:
getFirewallRuleGroupId
in interfaceIFirewallRuleGroup
-
getFirewallRuleGroupModificationTime
(experimental) The date and time that the rule group was last modified. -
getFirewallRuleGroupOwnerId
(experimental) The AWS account ID for the account that created the rule group. -
getFirewallRuleGroupRuleCount
(experimental) The number of rules in the rule group. -
getFirewallRuleGroupStatus
(experimental) The status of the rule group. -
getFirewallRuleGroupStatusMessage
(experimental) Additional information about the status of the rule group.
-