You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::RegisterCertificateRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RegisterCertificateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  certificate_pem: "CertificatePem", # required
  ca_certificate_pem: "CertificatePem",
  set_as_active: false,
  status: "ACTIVE", # accepts ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, REGISTER_INACTIVE, PENDING_ACTIVATION
}

The input to the RegisterCertificate operation.

Instance Attribute Summary collapse

Instance Attribute Details

#ca_certificate_pemString

The CA certificate used to sign the device certificate being registered.

Returns:

  • (String)

    The CA certificate used to sign the device certificate being registered.

#certificate_pemString

The certificate data, in PEM format.

Returns:

  • (String)

    The certificate data, in PEM format.

#set_as_activeBoolean

A boolean value that specifies if the CA certificate is set to active.

Returns:

  • (Boolean)

    A boolean value that specifies if the CA certificate is set to active.

#statusString

The status of the register certificate request.

Possible values:

  • ACTIVE
  • INACTIVE
  • REVOKED
  • PENDING_TRANSFER
  • REGISTER_INACTIVE
  • PENDING_ACTIVATION

Returns:

  • (String)

    The status of the register certificate request.