models.amazon_cloud_credentials module¶
-
class
models.amazon_cloud_credentials.
AmazonCloudCredentials
(access_key_id=None, c_2_s_access_portal=None, region=None, secret_access_key=None, service_url=None, signature_version=None, tier_type=None, use_https=None)[source]¶ Bases:
object
Implementation of the ‘AmazonCloudCredentials’ model.
Specifies the cloud credentials to connect to a Amazon service account. Glacier, S3, and S3-compatible clouds all use these credentials.
- Attributes:
- access_key_id (string): Specifies the access key for Amazon service
account. See the Cohesity online help for the value to specify for this field based on the current S3 Compatible Vault (External Target) type. For example for Iron Mountain, specify the user name from Iron Mountain for this field.
- c_2_s_access_portal (C2SAccessPortal): Specifies information required
to connect to CAP to get AWS credentials. C2SAccessPortal(CAP) is AWS commercial cloud service access portal.
- region (string): Specifies the region to use for the Amazon service
account.
- secret_access_key (string): Specifies the secret access key for Amazon
service account. See the Cohesity online help for the value to specify for this field based on the current S3-compatible Vault (External Target) type.
- service_url (string): Specifies the URL (Endpoint) for the service
such as s3like.notamazon.com. This field is only significant for S3-compatible cloud services.
- signature_version (int): Specifies the version of the S3 Compliance.
This field must be set to 2 or 4 and the default version is 2. This field is only significant for S3-compatible cloud services. See the Cohesity online help for the supported S3-compatible Vault (External Target) types and the value to specify for this field based on the current S3-compatible Vault (External Target) type.
- tier_type (TierTypeEnum): Specifies the storage class of AWS.
AmazonTierType specifies the storage class for AWS. ‘kAmazonS3Standard’ indicates a tier type of Amazon properties that is accessed frequently. ‘kAmazonS3StandardIA’ indicates a tier type of Amazon properties that is accessed less frequently, but requires rapid access when needed. ‘kAmazonGlacier’ indicates a tier type of Amazon properties that is accessed rarely. ‘kAmazonS3OneZoneIA’ indicates a tier type of Amazon properties for long-lived, but less frequently accessed data. ‘kAmazonS3IntelligentTiering’ indicates a tier type of Amazon properties for data with unknown or changing access patterns.
- use_https (bool): Specifies whether to use http or https to connect to
the service. If true, a secure connection (https) is used. This field is only significant for S3-compatible cloud services.
-
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.