class CfnStateMachineExpressLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.StepFunctions.Mixins.CfnStateMachineExpressLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsstepfunctions/mixins#CfnStateMachineExpressLogs |
Java | software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachineExpressLogs |
Python | aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineExpressLogs |
TypeScript | @aws-cdk/mixins-preview » aws_stepfunctions » mixins » CfnStateMachineExpressLogs |
Builder for CfnStateMachineLogsMixin to generate EXPRESS_LOGS for CfnStateMachine.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as stepfunctions_mixins } from '@aws-cdk/mixins-preview/aws-stepfunctions';
const cfnStateMachineExpressLogs = new stepfunctions_mixins.CfnStateMachineExpressLogs();
Initializer
new CfnStateMachineExpressLogs()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send logs to a CloudWatch Log Group. |
toDestination(destination)
public toDestination(destination: IDeliveryDestinationRef): CfnStateMachineLogsMixin
Parameters
- destination
IDeliveryDestination Ref
Returns
Delivers logs to a pre-created delivery destination.
Supported destinations are CWL 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().
toLogGroup(logGroup)
public toLogGroup(logGroup: ILogGroupRef): CfnStateMachineLogsMixin
Parameters
- logGroup
ILogGroup Ref
Returns
Send logs to a CloudWatch Log Group.

.NET
Go
Java
Python
TypeScript