> **Experimental**
>
> `@aws-cdk/aws-iot-actions-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# StepFunctionsStateMachineActionProps

Configuration properties of an action for the Step Functions State Machine.

Extends: [CommonActionProps](/cdk/api/v2/docs/@aws-cdk_aws-iot-actions-alpha.CommonActionProps.html)
Used as props by: [StepFunctionsStateMachineAction](/cdk/api/v2/docs/@aws-cdk_aws-iot-actions-alpha.StepFunctionsStateMachineAction.html)

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/step-functions-state-machine-action.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-iot-actions-alpha/lib/step-functions-state-machine-action.ts#L12)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot_actions_alpha from '@aws-cdk/aws-iot-actions-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const stepFunctionsStateMachineActionProps: iot_actions_alpha.StepFunctionsStateMachineActionProps = {
  executionNamePrefix: 'executionNamePrefix',
  role: role,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot_actions_alpha as iot_actions_alpha
from aws_cdk import aws_iam as iam

# role: iam.Role

step_functions_state_machine_action_props = iot_actions_alpha.StepFunctionsStateMachineActionProps(
    execution_name_prefix="executionNamePrefix",
    role=role
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.actions.alpha.*;
import software.amazon.awscdk.services.iam.*;

Role role;

StepFunctionsStateMachineActionProps stepFunctionsStateMachineActionProps = StepFunctionsStateMachineActionProps.builder()
        .executionNamePrefix("executionNamePrefix")
        .role(role)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.IoT.Actions.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT.Actions.Alpha;
using Amazon.CDK.AWS.IAM;

Role role;

var stepFunctionsStateMachineActionProps = new StepFunctionsStateMachineActionProps {
    ExecutionNamePrefix = "executionNamePrefix",
    Role = role
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkiotactionsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import iot_actions_alpha "github.com/aws/aws-cdk-go/awscdkiotactionsalpha"
import "github.com/aws/aws-cdk-go/awscdk"

var role Role

stepFunctionsStateMachineActionProps := &StepFunctionsStateMachineActionProps{
	ExecutionNamePrefix: jsii.String("executionNamePrefix"),
	Role: role,
}
```

## Properties

- `executionNamePrefix`: string — Name of the state machine execution prefix.

  **Default:** : None - Step Functions creates a unique name for each state machine execution if one is not provided.

  The name given to the state machine execution consists of this prefix followed by a UUID. Step Functions creates a unique name for each state machine execution if one is not provided.

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The IAM role that allows access to AWS service.

  **Default:** a new role will be created
