Class: Aws::IoTSiteWise::Types::ContainerTaskConfiguration

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#commandArray<String>

The command to execute in the container.

Returns:

  • (Array<String>)


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_uriString

The Amazon ECR image URI for the task container.

Returns:

  • (String)


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_variablesHash<String,String>

Environment variables passed to the container at runtime.

Returns:

  • (Hash<String,String>)


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_configurationTypes::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

#mountsArray<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.

Returns:



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_typeString

The processing type for compute resources.

Returns:

  • (String)


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_unitString

The processing unit allocation that determines the vCPU, memory, and GPU resources.

Returns:

  • (String)


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_roleString

The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

Returns:

  • (String)


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_secondsInteger

The timeout in seconds for task execution. Default: 3600 (1 hour).

Returns:

  • (Integer)


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