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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-guardduty/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)


652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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)


652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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)


652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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)


652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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)


652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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.



652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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:



652
653
654
655
656
657
658
659
660
661
662
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 652

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