models.c2s_server_info module

class models.c2s_server_info.C2SServerInfo(c2s_access_portal=None, ca_trusted_certificate=None, client_certificate=None, client_private_key=None)[source]

Bases: object

Implementation of the ‘C2SServerInfo’ model.

C2S Server Info.

Specifies information required to connect to CAP to get AWS credentials. C2SAccessPortal(CAP) is AWS commercial cloud service access portal.

Attributes:
c2s_access_portal (C2SAccessPortal): Specifies the C2S Access Portal

(CAP) which is used to get the aws credentials in Amazon Commercial Cloud Service(C2S).

ca_trusted_certificate (string): Specifies the CA (certificate

authority) trusted certificate.

client_certificate (string): Specifies the client CA certificate.

This certificate is in pem format.

client_private_key (string): Specifies the client private key. This

certificate is in pem format.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.