Interface CfnTask.TaskConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTask.TaskConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnTask

@Stability(Stable) public static interface CfnTask.TaskConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The task execution configuration.

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.*;
 TaskConfigurationProperty taskConfigurationProperty = 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();
 

See Also: