Show / Hide Table of Contents

Class FirewallRuleGroup

(experimental) A Firewall Rule Group.

Inheritance
object
Resource
FirewallRuleGroup
Implements
IFirewallRuleGroup
IResource
IConstruct
IDependable
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
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

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupCreationTime

(experimental) The date and time that the rule group was created.

public virtual string FirewallRuleGroupCreationTime { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupCreatorRequestId

(experimental) The creator request ID.

public virtual string FirewallRuleGroupCreatorRequestId { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupId

(experimental) The ID of the rule group.

public virtual string FirewallRuleGroupId { get; }
Property Value

string

Remarks

Stability: Experimental

FirewallRuleGroupModificationTime

(experimental) The date and time that the rule group was last modified.

public virtual string FirewallRuleGroupModificationTime { get; }
Property Value

string

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

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupRuleCount

(experimental) The number of rules in the rule group.

public virtual double FirewallRuleGroupRuleCount { get; }
Property Value

double

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

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupStatus

(experimental) The status of the rule group.

public virtual string FirewallRuleGroupStatus { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

FirewallRuleGroupStatusMessage

(experimental) Additional information about the status of the rule group.

public virtual string FirewallRuleGroupStatusMessage { get; }
Property Value

string

Remarks

Stability: Experimental

Attribute: true

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Stability: Experimental

Methods

AddRule(IFirewallRule)

(experimental) Adds a rule to this group.

public virtual FirewallRuleGroup AddRule(IFirewallRule rule)
Parameters
rule IFirewallRule
Returns

FirewallRuleGroup

Remarks

Stability: Experimental

Associate(string, IFirewallRuleGroupAssociationOptions)

(experimental) Associates this Firewall Rule Group with a VPC.

public virtual FirewallRuleGroupAssociation Associate(string id, IFirewallRuleGroupAssociationOptions props)
Parameters
id string
props IFirewallRuleGroupAssociationOptions
Returns

FirewallRuleGroupAssociation

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
scope Construct
id string
firewallRuleGroupId string
Returns

IFirewallRuleGroup

Remarks

Stability: Experimental

Implements

IFirewallRuleGroup
IResource
Constructs.IConstruct
Constructs.IDependable
Back to top Generated by DocFX