# CommandPreprocessorProperty

- Source: Generated at build time
- Type last changed: v2.238.0 · 9 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const commandPreprocessorProperty: iot.CfnCommand.CommandPreprocessorProperty = {
  awsJsonSubstitution: {
    outputFormat: 'outputFormat',
  },
};
```

Python:

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

command_preprocessor_property = iot.CfnCommand.CommandPreprocessorProperty(
    aws_json_substitution=iot.CfnCommand.AwsJsonSubstitutionCommandPreprocessorConfigProperty(
        output_format="outputFormat"
    )
)
```

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.*;

CommandPreprocessorProperty commandPreprocessorProperty = CommandPreprocessorProperty.builder()
        .awsJsonSubstitution(AwsJsonSubstitutionCommandPreprocessorConfigProperty.builder()
                .outputFormat("outputFormat")
                .build())
        .build();
```

C# / .NET:

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

var commandPreprocessorProperty = new CommandPreprocessorProperty {
    AwsJsonSubstitution = new AwsJsonSubstitutionCommandPreprocessorConfigProperty {
        OutputFormat = "outputFormat"
    }
};
```

Golang:

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

commandPreprocessorProperty := &CommandPreprocessorProperty{
	AwsJsonSubstitution: &AwsJsonSubstitutionCommandPreprocessorConfigProperty{
		OutputFormat: jsii.String("outputFormat"),
	},
}
```

## Properties

- `awsJsonSubstitution`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCommand.AwsJsonSubstitutionCommandPreprocessorConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnCommand.AwsJsonSubstitutionCommandPreprocessorConfigProperty.html)
