class CfnRouteServerPeerEventLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnRouteServerPeerEventLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnRouteServerPeerEventLogs |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnRouteServerPeerEventLogs |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnRouteServerPeerEventLogs |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnRouteServerPeerEventLogs |
Builder for CfnRouteServerPeerLogsMixin to generate EVENT_LOGS for CfnRouteServerPeer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnRouteServerPeerEventLogs = new ec2_mixins.CfnRouteServerPeerEventLogs();
Initializer
new CfnRouteServerPeerEventLogs()
Methods
| Name | Description |
|---|---|
| to | Send logs to a Firehose Delivery Stream. |
| to | Send logs to a CloudWatch Log Group. |
| to | Send logs to an S3 Bucket. |
toFirehose(deliveryStream)
public toFirehose(deliveryStream: IDeliveryStreamRef): CfnRouteServerPeerLogsMixin
Parameters
- deliveryStream
IDeliveryStream Ref
Returns
Send logs to a Firehose Delivery Stream.
toLogGroup(logGroup)
public toLogGroup(logGroup: ILogGroupRef): CfnRouteServerPeerLogsMixin
Parameters
- logGroup
ILogGroup Ref
Returns
Send logs to a CloudWatch Log Group.
toS3(bucket)
public toS3(bucket: IBucketRef): CfnRouteServerPeerLogsMixin
Parameters
- bucket
IBucketRef
Returns
Send logs to an S3 Bucket.

.NET
Go
Java
Python
TypeScript