Class CfnEventBusInfoLogs
Builder for CfnEventBusLogsMixin to generate INFO_LOGS for CfnEventBus.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Events.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnEventBusInfoLogs : DeputyBase
Syntax (vb)
Public Class CfnEventBusInfoLogs Inherits DeputyBase
Remarks
CloudformationResource: AWS::Events::EventBus
LogType: INFO_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.Events.Mixins;
var cfnEventBusInfoLogs = new CfnEventBusInfoLogs();
Synopsis
Constructors
| CfnEventBusInfoLogs() | Builder for CfnEventBusLogsMixin to generate INFO_LOGS for CfnEventBus. |
Methods
| ToDestination(IDeliveryDestinationRef, ICfnEventBusInfoLogsDestProps?) | Delivers logs to a pre-created delivery destination. |
| ToFirehose(IDeliveryStreamRef, ICfnEventBusInfoLogsFirehoseProps?) | Send logs to a Firehose Delivery Stream. |
| ToLogGroup(ILogGroupRef, ICfnEventBusInfoLogsLogGroupProps?) | Send logs to a CloudWatch Log Group. |
| ToS3(IBucketRef, ICfnEventBusInfoLogsS3Props?) | Send logs to an S3 Bucket. |
Constructors
CfnEventBusInfoLogs()
Builder for CfnEventBusLogsMixin to generate INFO_LOGS for CfnEventBus.
public CfnEventBusInfoLogs()
Remarks
Stability: Experimental
Methods
ToDestination(IDeliveryDestinationRef, ICfnEventBusInfoLogsDestProps?)
Delivers logs to a pre-created delivery destination.
public virtual CfnEventBusLogsMixin ToDestination(IDeliveryDestinationRef destination, ICfnEventBusInfoLogsDestProps? props = null)
Parameters
- destination IDeliveryDestinationRef
- props ICfnEventBusInfoLogsDestProps
Additional properties that are optionally used in log delivery for destinations.
Returns
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, ICfnEventBusInfoLogsFirehoseProps?)
Send logs to a Firehose Delivery Stream.
public virtual CfnEventBusLogsMixin ToFirehose(IDeliveryStreamRef deliveryStream, ICfnEventBusInfoLogsFirehoseProps? props = null)
Parameters
- deliveryStream IDeliveryStreamRef
- props ICfnEventBusInfoLogsFirehoseProps
Additional properties that are optionally used in log delivery for Firehose destinations.
Returns
Remarks
CloudformationResource: AWS::Events::EventBus
LogType: INFO_LOGS
ExampleMetadata: fixture=_generated
ToLogGroup(ILogGroupRef, ICfnEventBusInfoLogsLogGroupProps?)
Send logs to a CloudWatch Log Group.
public virtual CfnEventBusLogsMixin ToLogGroup(ILogGroupRef logGroup, ICfnEventBusInfoLogsLogGroupProps? props = null)
Parameters
- logGroup ILogGroupRef
- props ICfnEventBusInfoLogsLogGroupProps
Additional properties that are optionally used in log delivery for Log Group destinations.
Returns
Remarks
CloudformationResource: AWS::Events::EventBus
LogType: INFO_LOGS
ExampleMetadata: fixture=_generated
ToS3(IBucketRef, ICfnEventBusInfoLogsS3Props?)
Send logs to an S3 Bucket.
public virtual CfnEventBusLogsMixin ToS3(IBucketRef bucket, ICfnEventBusInfoLogsS3Props? props = null)
Parameters
- bucket IBucketRef
- props ICfnEventBusInfoLogsS3Props
Additional properties that are optionally used in log delivery for S3 destinations.
Returns
Remarks
CloudformationResource: AWS::Events::EventBus
LogType: INFO_LOGS
ExampleMetadata: fixture=_generated