You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::ServerCertificate
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::IAM::ServerCertificate
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#certificate_body ⇒ String
readonly
The contents of the public key certificate.
-
#certificate_chain ⇒ String
readonly
The contents of the public key certificate chain.
-
#name ⇒ String
readonly
-
#server_certificate_metadata ⇒ Types::ServerCertificateMetadata
readonly
The meta information of the server certificate, such as its name, path, ID, and ARN.
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#delete ⇒ Struct
Deletes the specified server certificate.
For more information about working with server certificates, see Working with Server Certificates in the IAM User Guide.
-
#initialize ⇒ Object
constructor
-
#update(options = {}) ⇒ ServerCertificate
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(name, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#certificate_body ⇒ String (readonly)
The contents of the public key certificate.
#certificate_chain ⇒ String (readonly)
The contents of the public key certificate chain.
#name ⇒ String (readonly)
#server_certificate_metadata ⇒ Types::ServerCertificateMetadata (readonly)
The meta information of the server certificate, such as its name, path, ID, and ARN.
Instance Method Details
#delete ⇒ Struct
Deletes the specified server certificate.
For more information about working with server certificates, see Working with Server Certificates in the IAM User Guide. This topic also includes a list of AWS services that can use the server certificates that you manage with IAM.
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 DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference.