class LogGroupLogsDelivery
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.LogGroupLogsDelivery |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs#LogGroupLogsDelivery |
Java | software.amazon.awscdk.mixins.preview.services.logs.LogGroupLogsDelivery |
Python | aws_cdk.mixins_preview.aws_logs.LogGroupLogsDelivery |
TypeScript (source) | @aws-cdk/mixins-preview ยป aws_logs ยป LogGroupLogsDelivery |
Implements
ILogs
Delivers vended logs to a CloudWatch Log Group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { aws_logs as interfaces_logs } from 'aws-cdk-lib/interfaces';
declare const logGroupRef: interfaces_logs.ILogGroupRef;
const logGroupLogsDelivery = new logs.LogGroupLogsDelivery(logGroupRef);
Initializer
new LogGroupLogsDelivery(logGroup: ILogGroupRef)
Parameters
- logGroup
ILogโ - The CloudWatch Logs log group reference.Group Ref
Creates a new log group delivery.
Methods
| Name | Description |
|---|---|
| bind(scope, logType, sourceResourceArn) | Binds Log Group to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them. |
bind(scope, logType, sourceResourceArn)
public bind(scope: IConstruct, logType: string, sourceResourceArn: string): ILogsDeliveryConfig
Parameters
- scope
IConstruct - logType
string - sourceResourceArn
string
Returns
Binds Log Group to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them.

.NET
Go
Java
Python
TypeScript (