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.



7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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.



7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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)


7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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)


7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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)


7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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)


7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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.



7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7284

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