Class FirewallRuleGroup

All Implemented Interfaces:
IConstruct, IDependable, IResource, IFirewallRuleGroup,, 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.


 FirewallDomainList myBlockList;
 FirewallRuleGroup.Builder.create(this, "RuleGroup")
                 // block and reply with NODATA
  • Constructor Details

    • FirewallRuleGroup

      protected FirewallRuleGroup( objRef)
    • FirewallRuleGroup

      protected FirewallRuleGroup( initializationMode)
    • FirewallRuleGroup

      @Stability(Experimental) public FirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable FirewallRuleGroupProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • FirewallRuleGroup

      @Stability(Experimental) public FirewallRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id)
      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.

      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.

      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.

      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.