class AWS::IAM::ServerCertificate

and to delete it.
You can use this class to get information about a certificate
certificate = iam.server_certificates[“MyCert”]

Respresents a server certificate.

def delete

Returns:
  • (nil) -

Other tags:
    Note: - If you are using a server certificate with Elastic Load
def delete
  client.delete_server_certificate(resource_options)
  nil
end

def initialize(name, opts={})

Other tags:
    Private: -
def initialize(name, opts={})
  opts[:name] = name
  super(opts)
end

def resource_identifiers

def resource_identifiers
  [[:server_certificate_name, name]]
end

def response_objects(resp)

def response_objects(resp)
  if cert = resp.server_certificate and
      meta = cert.server_certificate_metadata and
      meta.server_certificate_name == name
    [cert, meta]
  else
    [nil, nil]
  end
end