Class FirewallRuleGroup
(experimental) A Firewall Rule Group.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver.Alpha
Assembly: Amazon.CDK.AWS.Route53Resolver.Alpha.dll
Syntax (csharp)
public class FirewallRuleGroup : Resource, IFirewallRuleGroup, IResource, IConstruct, IDependable
Syntax (vb)
Public Class FirewallRuleGroup Inherits Resource Implements IFirewallRuleGroup, IResource, IConstruct, IDependable
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
FirewallDomainList myBlockList;
new FirewallRuleGroup(this, "RuleGroup", new FirewallRuleGroupProps {
Rules = new [] { new FirewallRule {
Priority = 10,
FirewallDomainList = myBlockList,
// block and reply with NODATA
Action = FirewallRuleAction.Block()
} }
});
Synopsis
Constructors
FirewallRuleGroup(Construct, string, IFirewallRuleGroupProps?) | (experimental) A Firewall Rule Group. |
Properties
FirewallRuleGroupArn | (experimental) The ARN (Amazon Resource Name) of the rule group. |
FirewallRuleGroupCreationTime | (experimental) The date and time that the rule group was created. |
FirewallRuleGroupCreatorRequestId | (experimental) The creator request ID. |
FirewallRuleGroupId | (experimental) The ID of the rule group. |
FirewallRuleGroupModificationTime | (experimental) The date and time that the rule group was last modified. |
FirewallRuleGroupOwnerId | (experimental) The AWS account ID for the account that created the rule group. |
FirewallRuleGroupRuleCount | (experimental) The number of rules in the rule group. |
FirewallRuleGroupShareStatus | (experimental) Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account. |
FirewallRuleGroupStatus | (experimental) The status of the rule group. |
FirewallRuleGroupStatusMessage | (experimental) Additional information about the status of the rule group. |
PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
AddRule(IFirewallRule) | (experimental) Adds a rule to this group. |
Associate(string, IFirewallRuleGroupAssociationOptions) | (experimental) Associates this Firewall Rule Group with a VPC. |
FromFirewallRuleGroupId(Construct, string, string) | (experimental) Import an existing Firewall Rule Group. |
Constructors
FirewallRuleGroup(Construct, string, IFirewallRuleGroupProps?)
(experimental) A Firewall Rule Group.
public FirewallRuleGroup(Construct scope, string id, IFirewallRuleGroupProps? props = null)
Parameters
- scope Construct
- id string
- props IFirewallRuleGroupProps
Remarks
Stability: Experimental
Properties
FirewallRuleGroupArn
(experimental) The ARN (Amazon Resource Name) of the rule group.
public virtual string FirewallRuleGroupArn { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupCreationTime
(experimental) The date and time that the rule group was created.
public virtual string FirewallRuleGroupCreationTime { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupCreatorRequestId
(experimental) The creator request ID.
public virtual string FirewallRuleGroupCreatorRequestId { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupId
(experimental) The ID of the rule group.
public virtual string FirewallRuleGroupId { get; }
Property Value
Remarks
Stability: Experimental
FirewallRuleGroupModificationTime
(experimental) The date and time that the rule group was last modified.
public virtual string FirewallRuleGroupModificationTime { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupOwnerId
(experimental) The AWS account ID for the account that created the rule group.
public virtual string FirewallRuleGroupOwnerId { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupRuleCount
(experimental) The number of rules in the rule group.
public virtual double FirewallRuleGroupRuleCount { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupShareStatus
(experimental) Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account.
public virtual string FirewallRuleGroupShareStatus { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupStatus
(experimental) The status of the rule group.
public virtual string FirewallRuleGroupStatus { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupStatusMessage
(experimental) Additional information about the status of the rule group.
public virtual string FirewallRuleGroupStatusMessage { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
AddRule(IFirewallRule)
(experimental) Adds a rule to this group.
public virtual FirewallRuleGroup AddRule(IFirewallRule rule)
Parameters
- rule IFirewallRule
Returns
Remarks
Stability: Experimental
Associate(string, IFirewallRuleGroupAssociationOptions)
(experimental) Associates this Firewall Rule Group with a VPC.
public virtual FirewallRuleGroupAssociation Associate(string id, IFirewallRuleGroupAssociationOptions props)
Parameters
Returns
Remarks
Stability: Experimental
FromFirewallRuleGroupId(Construct, string, string)
(experimental) Import an existing Firewall Rule Group.
public static IFirewallRuleGroup FromFirewallRuleGroupId(Construct scope, string id, string firewallRuleGroupId)
Parameters
Returns
Remarks
Stability: Experimental