snowflake.core.external_volume.StorageLocationS3Gov¶
- class snowflake.core.external_volume.StorageLocationS3Gov(*, name: Annotated[str, Strict(strict=True)], storage_aws_role_arn: Annotated[str, Strict(strict=True)], storage_base_url: Annotated[str, Strict(strict=True)], storage_aws_external_id: Annotated[str, Strict(strict=True)] | None = None, encryption: Encryption | None = None)¶
Bases:
StorageLocation
A model object representing the StorageLocationS3Gov resource.
Constructs an object of type StorageLocationS3Gov with the provided properties.
- Parameters:
name (str)
storage_aws_role_arn (str) – Specifies the case-sensitive Amazon Resource Name (ARN) of the AWS identity and access management (IAM) role that grants privileges on the S3 bucket containing your data files.
storage_base_url (str) – Specifies the base URL for your cloud storage location.
storage_aws_external_id (str, optional) – Optionally specifies an external ID that Snowflake uses to establish a trust relationship with AWS.
encryption (Encryption, optional)
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Methods
- classmethod from_dict(obj: dict) StorageLocationS3Gov ¶
Create an instance of StorageLocationS3Gov from a dict.
- classmethod from_json(json_str: str) StorageLocationS3Gov ¶
Create an instance of StorageLocationS3Gov from a JSON string.
- to_dict(hide_readonly_properties: bool = False) Dict[str, Any] ¶
Returns the dictionary representation of the model using alias.
- to_dict_without_readonly_properties() Dict[str, Any] ¶
Return the dictionary representation of the model without readonly properties.
- to_json() str ¶
Returns the JSON representation of the model using alias.
- to_str() str ¶
Returns the string representation of the model using alias.