Interface CfnTaskPropsMixin.ContainerTaskConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskPropsMixin.ContainerTaskConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTaskPropsMixin
@Stability(Stable)
public static interface CfnTaskPropsMixin.ContainerTaskConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for running a custom container image on managed compute.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.*;
ContainerTaskConfigurationProperty containerTaskConfigurationProperty = ContainerTaskConfigurationProperty.builder()
.command(List.of("command"))
.ecrUri("ecrUri")
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.processingType("processingType")
.processingUnit("processingUnit")
.taskExecutionRole("taskExecutionRole")
.timeoutSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskPropsMixin.ContainerTaskConfigurationPropertystatic final classAn implementation forCfnTaskPropsMixin.ContainerTaskConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The command to execute in the container.default StringThe Amazon ECR image URI for the task container.default ObjectA map of environment variable key-value pairs.default StringThe processing type for compute resources.default StringThe processing unit allocation that determines vCPU, memory, and GPU resources.default StringThe ARN of the IAM role that grants the containerized workload permissions to access AWS resources.default NumberThe timeout in seconds for task execution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommand
The command to execute in the container.- See Also:
-
getEcrUri
The Amazon ECR image URI for the task container.- See Also:
-
getEnvironmentVariables
A map of environment variable key-value pairs.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getProcessingType
The processing type for compute resources.- See Also:
-
getProcessingUnit
The processing unit allocation that determines vCPU, memory, and GPU resources.- See Also:
-
getTaskExecutionRole
The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.- See Also:
-
getTimeoutSeconds
The timeout in seconds for task execution.Default: 3600 (1 hour).
- See Also:
-
builder
-