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();
 
  • 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

      @Stability(Experimental) @NotNull public FirewallRuleGroup addRule(@NotNull FirewallRule rule)
      (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

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupArn()
      (experimental) The ARN (Amazon Resource Name) of the rule group.
    • getFirewallRuleGroupCreationTime

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupCreationTime()
      (experimental) The date and time that the rule group was created.
    • getFirewallRuleGroupCreatorRequestId

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupCreatorRequestId()
      (experimental) The creator request ID.
    • getFirewallRuleGroupId

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupId()
      (experimental) The ID of the rule group.
      Specified by:
      getFirewallRuleGroupId in interface IFirewallRuleGroup
    • getFirewallRuleGroupModificationTime

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupModificationTime()
      (experimental) The date and time that the rule group was last modified.
    • getFirewallRuleGroupOwnerId

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupOwnerId()
      (experimental) The AWS account ID for the account that created the rule group.
    • getFirewallRuleGroupRuleCount

      @Stability(Experimental) @NotNull public Number getFirewallRuleGroupRuleCount()
      (experimental) The number of rules in the rule group.
    • getFirewallRuleGroupShareStatus

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupShareStatus()
      (experimental) Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account.
    • getFirewallRuleGroupStatus

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupStatus()
      (experimental) The status of the rule group.
    • getFirewallRuleGroupStatusMessage

      @Stability(Experimental) @NotNull public String getFirewallRuleGroupStatusMessage()
      (experimental) Additional information about the status of the rule group.