Show / Hide Table of Contents

Interface CfnLoggingConfiguration.ILogDestinationConfigProperty

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

Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLoggingConfiguration.ILogDestinationConfigProperty
Syntax (vb)
Public Interface CfnLoggingConfiguration.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.AWS.NetworkFirewall;

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

Synopsis

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.

Properties

LogDestination

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

object LogDestination { get; }
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.

        string LogDestinationType { get; }
        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.

        string LogType { get; }
        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

          Back to top Generated by DocFX