Skip to content
v2.278.0

CommandPreprocessorProperty Struct ​

Example ​

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
# 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
// 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();
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"
    }
};
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 ​

awsJsonSubstitutionoptionalIResolvable | CfnCommand.AwsJsonSubstitutionCommandPreprocessorConfigPropertyaws_json_substitutionoptionaltyping.Union[IResolvable, AwsJsonSubstitutionCommandPreprocessorConfigProperty]awsJsonSubstitutionoptionalIResolvableAwsJsonSubstitutionoptionalIResolvableAwsJsonSubstitutionoptionalinterface{} #