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"))
.timeoutSeconds(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.TaskConfigurationPropertystatic final classAn implementation forCfnTask.TaskConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration for running a custom container image on managed compute.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerTaskConfiguration
Configuration for running a custom container image on managed compute.Returns union: either
IResolvableorCfnTask.ContainerTaskConfigurationProperty- See Also:
-
builder
-