class CfnStateMachineStandardLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.StepFunctions.Mixins.CfnStateMachineStandardLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsstepfunctions/mixins#CfnStateMachineStandardLogs |
Java | software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachineStandardLogs |
Python | aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogs |
TypeScript | @aws-cdk/mixins-preview » aws_stepfunctions » mixins » CfnStateMachineStandardLogs |
Builder for CfnStateMachineLogsMixin to generate STANDARD_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 cfnStateMachineStandardLogs = new stepfunctions_mixins.CfnStateMachineStandardLogs();
Initializer
new CfnStateMachineStandardLogs()
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