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)


887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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)


887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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)


887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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)


887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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)


887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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.



887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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:



887
888
889
890
891
892
893
894
895
896
897
# File 'lib/aws-sdk-guardduty/types.rb', line 887

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