CfnStateMachineStandardLogs

class aws_cdk.mixins_preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogs

Bases: object

Builder for CfnStateMachineLogsMixin to generate STANDARD_LOGS for CfnStateMachine.

CloudformationResource:

AWS::StepFunctions::StateMachine

LogType:

STANDARD_LOGS

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_stepfunctions import mixins as stepfunctions_mixins

cfn_state_machine_standard_logs = stepfunctions_mixins.CfnStateMachineStandardLogs()
Stability:

experimental

Methods

to_destination(destination)

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().

Parameters:

destination (IDeliveryDestinationRef)

Return type:

CfnStateMachineLogsMixin

to_log_group(log_group)

Send logs to a CloudWatch Log Group.

Parameters:

log_group (ILogGroupRef)

Return type:

CfnStateMachineLogsMixin