Class: Aws::IoTSiteWise::Types::ContainerTaskConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::ContainerTaskConfiguration
- Defined in:
- gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb
Overview
Configuration for a container task, including the container image, IAM role, and compute settings.
Constant Summary collapse
- SENSITIVE =
[:ecr_uri, :task_execution_role, :command, :environment_variables]
Instance Attribute Summary collapse
-
#command ⇒ Array<String>
The command to execute in the container.
-
#ecr_uri ⇒ String
The Amazon ECR image URI for the task container.
-
#environment_variables ⇒ Hash<String,String>
Environment variables passed to the container at runtime.
-
#ephemeral_storage_configuration ⇒ Types::EphemeralStorageConfiguration
Ephemeral storage configuration for the container task.
-
#mounts ⇒ Array<Types::Mount>
Mounts attached to the container filesystem.
-
#processing_type ⇒ String
The processing type for compute resources.
-
#processing_unit ⇒ String
The processing unit allocation that determines the vCPU, memory, and GPU resources.
-
#task_execution_role ⇒ String
The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.
-
#timeout_seconds ⇒ Integer
The timeout in seconds for task execution.
Instance Attribute Details
#command ⇒ Array<String>
The command to execute in the container.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#ecr_uri ⇒ String
The Amazon ECR image URI for the task container.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#environment_variables ⇒ Hash<String,String>
Environment variables passed to the container at runtime.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#ephemeral_storage_configuration ⇒ Types::EphemeralStorageConfiguration
Ephemeral storage configuration for the container task.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#mounts ⇒ Array<Types::Mount>
Mounts attached to the container filesystem. Each mount exposes an external data source as a local directory inside the container. The service assigns each mount a container path based on the mount name. The container reads files through that path as if the data were on the local filesystem.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#processing_type ⇒ String
The processing type for compute resources.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#processing_unit ⇒ String
The processing unit allocation that determines the vCPU, memory, and GPU resources.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#task_execution_role ⇒ String
The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |
#timeout_seconds ⇒ Integer
The timeout in seconds for task execution. Default: 3600 (1 hour).
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3354 class ContainerTaskConfiguration < Struct.new( :ecr_uri, :task_execution_role, :processing_type, :processing_unit, :ephemeral_storage_configuration, :command, :timeout_seconds, :environment_variables, :mounts) SENSITIVE = [:ecr_uri, :task_execution_role, :command, :environment_variables] include Aws::Structure end |