Class AWS::IAM::ServerCertificate
In: lib/aws/iam/server_certificate.rb
Parent: Resource

Respresents a server certificate.

    certificate = iam.server_certificates["MyCert"]

You can use this class to get information about a certificate and to delete it.

@attr [String] name The name that identifies the server certificate.

@attr_reader [String] id The stable and unique string identifying

  the server certificate.

@attr_reader [Time] updload_date The date when the server certificate was

  uploaded.

@attr_reader [String] arn The Amazon Resource Name (ARN)

  specifying the server certificate. For more information
  about ARNs and how to use them in policies, see
  {http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html
  Identifiers for IAM Entities} in <i>Using AWS Identity and
  Access Management</i>.

@attr [String] path Path to the server certificate.

@attr_reader [String] certificate_body The contents of the public key

  certificate.

@attr_reader [String] certificate_chain The contents of the public key

  certificate chain.

Methods

Public Class methods

Public Instance methods

Deletes the specified server certificate.

@note If you are using a server certificate with Elastic Load

  Balancing, deleting the certificate could have implications
  for your application. If Elastic Load Balancing doesn't
  detect the deletion of bound certificates, it may continue
  to use the certificates. This could cause Elastic Load
  Balancing to stop accepting traffic. We recommend that you
  remove the reference to the certificate from Elastic Load
  Balancing before using this command to delete the
  certificate. For more information, go to
  {http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/APIReference/API_DeleteLoadBalancerListeners.html
  DeleteLoadBalancerListeners} in the _Elastic Load Balancing
  API Reference_.

@return [nil]

Protected Instance methods

[Validate]