Show / Hide Table of Contents

Class CfnLogGroupAuditLogs

Builder for CfnLogGroupLogsMixin to generate AUDIT_LOGS for CfnLogGroup.

Inheritance
object
CfnLogGroupAuditLogs
Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLogGroupAuditLogs : DeputyBase
Syntax (vb)
Public Class CfnLogGroupAuditLogs Inherits DeputyBase
Remarks

CloudformationResource: AWS::Logs::LogGroup

LogType: AUDIT_LOGS

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.Mixins.Preview.AWS.Logs.Mixins;

             var cfnLogGroupAuditLogs = new CfnLogGroupAuditLogs();

Synopsis

Constructors

CfnLogGroupAuditLogs()

Builder for CfnLogGroupLogsMixin to generate AUDIT_LOGS for CfnLogGroup.

Methods

ToDestination(IDeliveryDestinationRef, ICfnLogGroupAuditLogsDestProps?)

Delivers logs to a pre-created delivery destination.

ToFirehose(IDeliveryStreamRef, ICfnLogGroupAuditLogsFirehoseProps?)

Send logs to a Firehose Delivery Stream.

ToLogGroup(ILogGroupRef, ICfnLogGroupAuditLogsLogGroupProps?)

Send logs to a CloudWatch Log Group.

ToS3(IBucketRef, ICfnLogGroupAuditLogsS3Props?)

Send logs to an S3 Bucket.

Constructors

CfnLogGroupAuditLogs()

Builder for CfnLogGroupLogsMixin to generate AUDIT_LOGS for CfnLogGroup.

public CfnLogGroupAuditLogs()
Remarks

Stability: Experimental

Methods

ToDestination(IDeliveryDestinationRef, ICfnLogGroupAuditLogsDestProps?)

Delivers logs to a pre-created delivery destination.

public virtual CfnLogGroupLogsMixin ToDestination(IDeliveryDestinationRef destination, ICfnLogGroupAuditLogsDestProps? props = null)
Parameters
destination IDeliveryDestinationRef
props ICfnLogGroupAuditLogsDestProps

Additional properties that are optionally used in log delivery for destinations.

Returns

CfnLogGroupLogsMixin

Remarks

Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

ToFirehose(IDeliveryStreamRef, ICfnLogGroupAuditLogsFirehoseProps?)

Send logs to a Firehose Delivery Stream.

public virtual CfnLogGroupLogsMixin ToFirehose(IDeliveryStreamRef deliveryStream, ICfnLogGroupAuditLogsFirehoseProps? props = null)
Parameters
deliveryStream IDeliveryStreamRef
props ICfnLogGroupAuditLogsFirehoseProps

Additional properties that are optionally used in log delivery for Firehose destinations.

Returns

CfnLogGroupLogsMixin

Remarks

CloudformationResource: AWS::Logs::LogGroup

LogType: AUDIT_LOGS

ExampleMetadata: fixture=_generated

ToLogGroup(ILogGroupRef, ICfnLogGroupAuditLogsLogGroupProps?)

Send logs to a CloudWatch Log Group.

public virtual CfnLogGroupLogsMixin ToLogGroup(ILogGroupRef logGroup, ICfnLogGroupAuditLogsLogGroupProps? props = null)
Parameters
logGroup ILogGroupRef
props ICfnLogGroupAuditLogsLogGroupProps

Additional properties that are optionally used in log delivery for Log Group destinations.

Returns

CfnLogGroupLogsMixin

Remarks

CloudformationResource: AWS::Logs::LogGroup

LogType: AUDIT_LOGS

ExampleMetadata: fixture=_generated

ToS3(IBucketRef, ICfnLogGroupAuditLogsS3Props?)

Send logs to an S3 Bucket.

public virtual CfnLogGroupLogsMixin ToS3(IBucketRef bucket, ICfnLogGroupAuditLogsS3Props? props = null)
Parameters
bucket IBucketRef
props ICfnLogGroupAuditLogsS3Props

Additional properties that are optionally used in log delivery for S3 destinations.

Returns

CfnLogGroupLogsMixin

Remarks

CloudformationResource: AWS::Logs::LogGroup

LogType: AUDIT_LOGS

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX