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, props?)
public toDestination(destination: IDeliveryDestinationRef, props?: CfnStateMachineExpressLogsDestProps): CfnStateMachineLogsMixin
Parameters
- destination
IDeliveryDestination Ref - props
Cfn— Additional properties that are optionally used in log delivery for destinations.State Machine Express Logs Dest Props
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, props?)
public toLogGroup(logGroup: ILogGroupRef, props?: CfnStateMachineExpressLogsLogGroupProps): CfnStateMachineLogsMixin
Parameters
- logGroup
ILogGroup Ref - props
Cfn— Additional properties that are optionally used in log delivery for Log Group destinations.State Machine Express Logs Log Group Props
Returns
Send logs to a CloudWatch Log Group.

.NET
Go
Java
Python
TypeScript