class CfnPipeLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pipes.Mixins.CfnPipeLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspipes/mixins#CfnPipeLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.pipes.mixins.CfnPipeLogsMixin |
Python | aws_cdk.mixins_preview.aws_pipes.mixins.CfnPipeLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_pipes » mixins » CfnPipeLogsMixin |
Implements
IMixin
Extends
Mixin
Specifies a pipe.
Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.
As an aid to help you jumpstart developing CloudFormation templates, the EventBridge console enables you to create templates from the existing pipes in your account. For more information, see Generate an CloudFormation template from EventBridge Pipes in the Amazon EventBridge User Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pipes-pipe.html
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 { mixins as pipes_mixins } from '@aws-cdk/mixins-preview/aws-pipes';
declare const logsDelivery: logs.ILogsDelivery;
const cfnPipeLogsMixin = new pipes_mixins.CfnPipeLogsMixin('logType', logsDelivery);
Initializer
new CfnPipeLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::Pipes::Pipe.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static EXECUTION_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static EXECUTION_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript