AWSIoTRegisterCACertificateRequest

Objective-C

@interface AWSIoTRegisterCACertificateRequest

Swift

class AWSIoTRegisterCACertificateRequest

The input to the RegisterCACertificate operation.

Required parameters: [caCertificate]

  • Allows this CA certificate to be used for auto registration of device certificates.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable allowAutoRegistration;

    Swift

    var allowAutoRegistration: NSNumber? { get set }
  • The CA certificate.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable caCertificate;

    Swift

    var caCertificate: String? { get set }
  • Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the verificationCertificate field is not provided, set certificateMode to be SNI_ONLY. If the verificationCertificate field is provided, set certificateMode to be DEFAULT. When certificateMode is not provided, it defaults to DEFAULT. All the device certificates that are registered using this CA will be registered in the same certificate mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTCertificateMode certificateMode;

    Swift

    var certificateMode: AWSIoTCertificateMode { get set }
  • Information about the registration configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTRegistrationConfig *_Nullable registrationConfig;

    Swift

    var registrationConfig: AWSIoTRegistrationConfig? { get set }
  • A boolean value that specifies if the CA certificate is set to active.

    Valid values: ACTIVE | INACTIVE

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable setAsActive;

    Swift

    var setAsActive: NSNumber? { get set }
  • Metadata which can be used to manage the CA certificate.

    For URI Request parameters use format: …key1=value1&key2=value2…

    For the CLI command-line parameter use format: &&tags “key1=value1&key2=value2…”

    For the cli-input-json file use format: “tags”: “key1=value1&key2=value2…”

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTTag *> *_Nullable tags;

    Swift

    var tags: [AWSIoTTag]? { get set }
  • The private key verification certificate. If certificateMode is SNI_ONLY, the verificationCertificate field must be empty. If certificateMode is DEFAULT or not provided, the verificationCertificate field must not be empty.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable verificationCertificate;

    Swift

    var verificationCertificate: String? { get set }