Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails data as a hash:

{
  capabilities: {
    add: ["NonEmptyString"],
    drop: ["NonEmptyString"],
  },
  devices: [
    {
      container_path: "NonEmptyString",
      host_path: "NonEmptyString",
      permissions: ["NonEmptyString"],
    },
  ],
  init_process_enabled: false,
  max_swap: 1,
  shared_memory_size: 1,
  swappiness: 1,
  tmpfs: [
    {
      container_path: "NonEmptyString",
      mount_options: ["NonEmptyString"],
      size: 1,
    },
  ],
}

>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capabilitiesTypes::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.



9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#devicesArray<Types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails>

The host devices to expose to the container.



9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#init_process_enabledBoolean

Whether to run an init process inside the container that forwards signals and reaps processes.

Returns:

  • (Boolean)


9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#max_swapInteger

The total amount of swap memory (in MiB) that a container can use.

Returns:

  • (Integer)


9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#shared_memory_sizeInteger

The value for the size (in MiB) of the /dev/shm volume.

Returns:

  • (Integer)


9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#swappinessInteger

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

Returns:

  • (Integer)


9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end

#tmpfsArray<Types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails>

The container path, mount options, and size (in MiB) of the tmpfs mount.



9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9228

class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails < Struct.new(
  :capabilities,
  :devices,
  :init_process_enabled,
  :max_swap,
  :shared_memory_size,
  :swappiness,
  :tmpfs)
  SENSITIVE = []
  include Aws::Structure
end