Class CfnFirewallRuleGroup
High-level information for a firewall rule group.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53Resolver
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFirewallRuleGroup : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnFirewallRuleGroup
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A firewall rule group is a collection of rules that DNS Firewall uses to filter DNS network traffic for a VPC. To retrieve the rules for the rule group, call ListFirewallRules .
CloudformationResource: AWS::Route53Resolver::FirewallRuleGroup
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53Resolver;
var cfnFirewallRuleGroup = new CfnFirewallRuleGroup(this, "MyCfnFirewallRuleGroup", new CfnFirewallRuleGroupProps {
FirewallRules = new [] { new FirewallRuleProperty {
Action = "action",
FirewallDomainListId = "firewallDomainListId",
Priority = 123,
// the properties below are optional
BlockOverrideDnsType = "blockOverrideDnsType",
BlockOverrideDomain = "blockOverrideDomain",
BlockOverrideTtl = 123,
BlockResponse = "blockResponse",
Qtype = "qtype"
} },
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnFirewallRuleGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnFirewallRuleGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnFirewallRuleGroup(Construct, String, ICfnFirewallRuleGroupProps) |
Properties
AttrArn | The ARN (Amazon Resource Name) of the rule group. |
AttrCreationTime | The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC). |
AttrCreatorRequestId | A unique string defined by you to identify the request. |
AttrId | The ID of the rule group. |
AttrModificationTime | The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC). |
AttrOwnerId | The AWS account ID for the account that created the rule group. |
AttrRuleCount | The number of rules in the rule group. |
AttrShareStatus | Whether the rule group is shared with other AWS accounts , or was shared with the current account by another AWS account . |
AttrStatus | The status of the domain list. |
AttrStatusMessage | Additional information about the status of the rule group, if available. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
FirewallRules | A list of the rules that you have defined. |
Name | The name of the rule group. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A list of the tag keys and values that you want to associate with the rule group. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnFirewallRuleGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnFirewallRuleGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnFirewallRuleGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnFirewallRuleGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnFirewallRuleGroup(Construct, String, ICfnFirewallRuleGroupProps)
public CfnFirewallRuleGroup(Construct scope, string id, ICfnFirewallRuleGroupProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnFirewallRuleGroupProps
Resource properties.
Properties
AttrArn
The ARN (Amazon Resource Name) of the rule group.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
AttrCreatorRequestId
A unique string defined by you to identify the request.
public virtual string AttrCreatorRequestId { get; }
Property Value
System.String
Remarks
This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
CloudformationAttribute: CreatorRequestId
AttrId
The ID of the rule group.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrModificationTime
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
public virtual string AttrModificationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ModificationTime
AttrOwnerId
The AWS account ID for the account that created the rule group.
public virtual string AttrOwnerId { get; }
Property Value
System.String
Remarks
When a rule group is shared with your account, this is the account that has shared the rule group with you.
CloudformationAttribute: OwnerId
AttrRuleCount
The number of rules in the rule group.
public virtual double AttrRuleCount { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: RuleCount
AttrShareStatus
Whether the rule group is shared with other AWS accounts , or was shared with the current account by another AWS account .
public virtual string AttrShareStatus { get; }
Property Value
System.String
Remarks
Sharing is configured through AWS Resource Access Manager ( AWS RAM ).
CloudformationAttribute: ShareStatus
AttrStatus
The status of the domain list.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
AttrStatusMessage
Additional information about the status of the rule group, if available.
public virtual string AttrStatusMessage { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StatusMessage
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
FirewallRules
A list of the rules that you have defined.
public virtual object FirewallRules { get; set; }
Property Value
System.Object
Name
The name of the rule group.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A list of the tag keys and values that you want to associate with the rule group.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>