aws-cdk-lib.aws_stepfunctions.CfnStateMachine.TracingConfigurationProperty

interface TracingConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.CfnStateMachine.TracingConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#CfnStateMachine_TracingConfigurationProperty
Javasoftware.amazon.awscdk.services.stepfunctions.CfnStateMachine.TracingConfigurationProperty
Pythonaws_cdk.aws_stepfunctions.CfnStateMachine.TracingConfigurationProperty
TypeScript aws-cdk-lib » aws_stepfunctions » CfnStateMachine » TracingConfigurationProperty

Selects whether or not the state machine's AWS X-Ray tracing is enabled.

To configure your state machine to send trace data to X-Ray, set Enabled to true .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const tracingConfigurationProperty: stepfunctions.CfnStateMachine.TracingConfigurationProperty = {
  enabled: false,
};

Properties

NameTypeDescription
enabled?boolean | IResolvableWhen set to true , X-Ray tracing is enabled.

enabled?

Type: boolean | IResolvable (optional)

When set to true , X-Ray tracing is enabled.