@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:23.067Z") public class FirewallRuleGroup extends Resource implements IFirewallRuleGroup
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();
Modifier and Type | Class and Description |
---|---|
static class |
FirewallRuleGroup.Builder
(experimental) A fluent builder for
FirewallRuleGroup . |
IFirewallRuleGroup.Jsii$Default, IFirewallRuleGroup.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
FirewallRuleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FirewallRuleGroup(software.amazon.jsii.JsiiObjectRef objRef) |
|
FirewallRuleGroup(software.constructs.Construct scope,
java.lang.String id) |
|
FirewallRuleGroup(software.constructs.Construct scope,
java.lang.String id,
FirewallRuleGroupProps props) |
Modifier and Type | Method and Description |
---|---|
FirewallRuleGroup |
addRule(FirewallRule rule)
(experimental) Adds a rule to this group.
|
FirewallRuleGroupAssociation |
associate(java.lang.String id,
FirewallRuleGroupAssociationOptions props)
(experimental) Associates this Firewall Rule Group with a VPC.
|
static IFirewallRuleGroup |
fromFirewallRuleGroupId(software.constructs.Construct scope,
java.lang.String id,
java.lang.String firewallRuleGroupId)
(experimental) Import an existing Firewall Rule Group.
|
java.lang.String |
getFirewallRuleGroupArn()
(experimental) The ARN (Amazon Resource Name) of the rule group.
|
java.lang.String |
getFirewallRuleGroupCreationTime()
(experimental) The date and time that the rule group was created.
|
java.lang.String |
getFirewallRuleGroupCreatorRequestId()
(experimental) The creator request ID.
|
java.lang.String |
getFirewallRuleGroupId()
(experimental) The ID of the rule group.
|
java.lang.String |
getFirewallRuleGroupModificationTime()
(experimental) The date and time that the rule group was last modified.
|
java.lang.String |
getFirewallRuleGroupOwnerId()
(experimental) The AWS account ID for the account that created the rule group.
|
java.lang.Number |
getFirewallRuleGroupRuleCount()
(experimental) The number of rules in the rule group.
|
java.lang.String |
getFirewallRuleGroupShareStatus()
(experimental) Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account.
|
java.lang.String |
getFirewallRuleGroupStatus()
(experimental) The status of the rule group.
|
java.lang.String |
getFirewallRuleGroupStatusMessage()
(experimental) Additional information about the status of the rule group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected FirewallRuleGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected FirewallRuleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public FirewallRuleGroup(software.constructs.Construct scope, java.lang.String id, FirewallRuleGroupProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public FirewallRuleGroup(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static IFirewallRuleGroup fromFirewallRuleGroupId(software.constructs.Construct scope, java.lang.String id, java.lang.String firewallRuleGroupId)
scope
- This parameter is required.id
- This parameter is required.firewallRuleGroupId
- This parameter is required.public FirewallRuleGroup addRule(FirewallRule rule)
rule
- This parameter is required.public FirewallRuleGroupAssociation associate(java.lang.String id, FirewallRuleGroupAssociationOptions props)
id
- This parameter is required.props
- This parameter is required.public java.lang.String getFirewallRuleGroupArn()
public java.lang.String getFirewallRuleGroupCreationTime()
public java.lang.String getFirewallRuleGroupCreatorRequestId()
public java.lang.String getFirewallRuleGroupId()
getFirewallRuleGroupId
in interface IFirewallRuleGroup
public java.lang.String getFirewallRuleGroupModificationTime()
public java.lang.String getFirewallRuleGroupOwnerId()
public java.lang.Number getFirewallRuleGroupRuleCount()
public java.lang.String getFirewallRuleGroupShareStatus()
public java.lang.String getFirewallRuleGroupStatus()
public java.lang.String getFirewallRuleGroupStatusMessage()