Class: Aws::Lightsail::Types::DeleteContainerImageRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass DeleteContainerImageRequest data as a hash:

{
  service_name: "ContainerServiceName", # required
  image: "string", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#imageString

The name of the container image to delete from the container service.

Use the GetContainerImages action to get the name of the container images that are registered to a container service.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Returns:

  • (String)


5572
5573
5574
5575
5576
5577
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5572

class DeleteContainerImageRequest < Struct.new(
  :service_name,
  :image)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the container service for which to delete a registered container image.

Returns:

  • (String)


5572
5573
5574
5575
5576
5577
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5572

class DeleteContainerImageRequest < Struct.new(
  :service_name,
  :image)
  SENSITIVE = []
  include Aws::Structure
end