aws-cdk-lib.aws_stepfunctions.DefinitionConfig

interface DefinitionConfig

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.DefinitionConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#DefinitionConfig
Javasoftware.amazon.awscdk.services.stepfunctions.DefinitionConfig
Pythonaws_cdk.aws_stepfunctions.DefinitionConfig
TypeScript (source)aws-cdk-lib » aws_stepfunctions » DefinitionConfig

Obtainable from ChainDefinitionBody.bind(), DefinitionBody.bind(), FileDefinitionBody.bind(), StringDefinitionBody.bind()

Partial object from the StateMachine L1 construct properties containing definition information.

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';

declare const definition: any;
const definitionConfig: stepfunctions.DefinitionConfig = {
  definition: definition,
  definitionS3Location: {
    bucket: 'bucket',
    key: 'key',

    // the properties below are optional
    version: 'version',
  },
  definitionString: 'definitionString',
};

Properties

NameTypeDescription
definition?any
definitionS3Location?S3LocationProperty
definitionString?string

definition?

Type: any (optional)


definitionS3Location?

Type: S3LocationProperty (optional)


definitionString?

Type: string (optional)