Class: Aws::GuardDuty::Types::Container

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Details of a container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_runtimeString

The container runtime (such as, Docker or containerd) used to run the container.

Returns:

  • (String)


784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#idString

Container ID.

Returns:

  • (String)


784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#imageString

Container image.

Returns:

  • (String)


784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#image_prefixString

Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty.

Returns:

  • (String)


784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Container name.

Returns:

  • (String)


784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#security_contextTypes::SecurityContext

Container security context.



784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end

#volume_mountsArray<Types::VolumeMount>

Container volume mounts.

Returns:



784
785
786
787
788
789
790
791
792
793
794
# File 'lib/aws-sdk-guardduty/types.rb', line 784

class Container < Struct.new(
  :container_runtime,
  :id,
  :name,
  :image,
  :image_prefix,
  :volume_mounts,
  :security_context)
  SENSITIVE = []
  include Aws::Structure
end