Interface CfnTaskProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTaskProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-10T17:51:47.412Z") @Stability(Stable) public interface CfnTaskProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTask.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iotsitewise.*;
 CfnTaskProps cfnTaskProps = CfnTaskProps.builder()
         .taskConfiguration(TaskConfigurationProperty.builder()
                 .containerTaskConfiguration(ContainerTaskConfigurationProperty.builder()
                         .ecrUri("ecrUri")
                         .processingType("processingType")
                         .processingUnit("processingUnit")
                         .taskExecutionRole("taskExecutionRole")
                         // the properties below are optional
                         .command(List.of("command"))
                         .environmentVariables(Map.of(
                                 "environmentVariablesKey", "environmentVariables"))
                         .timeoutSeconds(123)
                         .build())
                 .build())
         .taskName("taskName")
         .workspaceName("workspaceName")
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: