Show / Hide Table of Contents

Class CfnLoggingConfigurationPropsMixin.LogDestinationConfigProperty

Defines where AWS Network Firewall sends logs for the firewall for one log type.

Inheritance
object
CfnLoggingConfigurationPropsMixin.LogDestinationConfigProperty
Implements
CfnLoggingConfigurationPropsMixin.ILogDestinationConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.NetworkFirewall
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLoggingConfigurationPropsMixin.LogDestinationConfigProperty : CfnLoggingConfigurationPropsMixin.ILogDestinationConfigProperty
Syntax (vb)
Public Class CfnLoggingConfigurationPropsMixin.LogDestinationConfigProperty Implements CfnLoggingConfigurationPropsMixin.ILogDestinationConfigProperty
Remarks

This is used in logging configuration. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to DROP or ALERT .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html

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.CfnPropertyMixins.AWS.NetworkFirewall;

             var logDestinationConfigProperty = new LogDestinationConfigProperty {
                 LogDestination = new Dictionary<string, string> {
                     { "logDestinationKey", "logDestination" }
                 },
                 LogDestinationType = "logDestinationType",
                 LogType = "logType"
             };

Synopsis

Constructors

LogDestinationConfigProperty()

Defines where AWS Network Firewall sends logs for the firewall for one log type.

Properties

LogDestination

The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

LogDestinationType

The type of storage destination to send these logs to.

LogType

The type of log to record.

Constructors

LogDestinationConfigProperty()

Defines where AWS Network Firewall sends logs for the firewall for one log type.

public LogDestinationConfigProperty()
Remarks

This is used in logging configuration. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to DROP or ALERT .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html

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.CfnPropertyMixins.AWS.NetworkFirewall;

             var logDestinationConfigProperty = new LogDestinationConfigProperty {
                 LogDestination = new Dictionary<string, string> {
                     { "logDestinationKey", "logDestination" }
                 },
                 LogDestinationType = "logDestinationType",
                 LogType = "logType"
             };

Properties

LogDestination

The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

public object? LogDestination { get; set; }
Property Value

object

Remarks

    The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts :

    "LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }

      "LogDestination": { "logGroup": "alert-log-group" }

        "LogDestination": { "deliveryStream": "alert-delivery-stream" }

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logdestination

        Type union: either Dictionary<string, string> or IResolvable

        LogDestinationType

        The type of storage destination to send these logs to.

        public string? LogDestinationType { get; set; }
        Property Value

        string

        Remarks

        You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logdestinationtype

        LogType

        The type of log to record.

        public string? LogType { get; set; }
        Property Value

        string

        Remarks

        You can record the following types of logs from your Network Firewall stateful engine.

          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logtype

          Implements

          CfnLoggingConfigurationPropsMixin.ILogDestinationConfigProperty
          Back to top Generated by DocFX