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)


798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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)


798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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)


798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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)


798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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)


798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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.



798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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:



798
799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-guardduty/types.rb', line 798

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