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
Syntax (vb)
Public Class FirewallRuleGroup
Inherits Resource
Implements IFirewallRuleGroup, IResource
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FirewallRuleGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
FirewallRuleGroup(Construct, String, IFirewallRuleGroupProps) |
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. |
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(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FirewallRuleGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FirewallRuleGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FirewallRuleGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
FirewallRuleGroup(Construct, String, IFirewallRuleGroupProps)
public FirewallRuleGroup(Construct scope, string id, IFirewallRuleGroupProps props = null)
Parameters
- scope Constructs.Construct
- id System.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
System.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
System.String
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupCreatorRequestId
(experimental) The creator request ID.
public virtual string FirewallRuleGroupCreatorRequestId { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupId
(experimental) The ID of the rule group.
public virtual string FirewallRuleGroupId { get; }
Property Value
System.String
Remarks
Stability: Experimental
FirewallRuleGroupModificationTime
(experimental) The date and time that the rule group was last modified.
public virtual string FirewallRuleGroupModificationTime { get; }
Property Value
System.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
System.String
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupRuleCount
(experimental) The number of rules in the rule group.
public virtual double FirewallRuleGroupRuleCount { get; }
Property Value
System.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
System.String
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupStatus
(experimental) The status of the rule group.
public virtual string FirewallRuleGroupStatus { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
FirewallRuleGroupStatusMessage
(experimental) Additional information about the status of the rule group.
public virtual string FirewallRuleGroupStatusMessage { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
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
- id System.String
- props IFirewallRuleGroupAssociationOptions
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
- scope Constructs.Construct
- id System.String
- firewallRuleGroupId System.String
Returns
Remarks
Stability: Experimental