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

.NET
Go
Java
Python
TypeScript