Interface CfnTaskProps

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

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:04:54.109Z") @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"))
                         .ephemeralStorageConfiguration(EphemeralStorageConfigurationProperty.builder()
                                 .storageClass("storageClass")
                                 .storageSizeInGiB(123)
                                 .build())
                         .mounts(List.of(MountProperty.builder()
                                 .name("name")
                                 .relativePath("relativePath")
                                 .source(MountSourceProperty.builder()
                                         .s3AccessPoint(S3AccessPointSourceProperty.builder()
                                                 .accessPointArn("accessPointArn")
                                                 // the properties below are optional
                                                 .prefix("prefix")
                                                 .build())
                                         .build())
                                 .storageType("storageType")
                                 .build()))
                         .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: