Class: Imagekitio::Models::Accounts::OriginRequest::S3
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::Accounts::OriginRequest::S3
- Defined in:
- lib/imagekitio/models/accounts/origin_request.rb,
sig/imagekitio/models/accounts/origin_request.rbs
Instance Attribute Summary collapse
-
#access_key ⇒ String
Access key for the bucket.
-
#base_url_for_canonical_header ⇒ String?
URL used in the Canonical header (if enabled).
-
#bucket ⇒ String
S3 bucket name.
-
#include_canonical_header ⇒ Boolean?
Whether to send a Canonical header.
-
#name ⇒ String
Display name of the origin.
-
#prefix ⇒ String?
Path prefix inside the bucket.
-
#secret_key ⇒ String
Secret key for the bucket.
- #type ⇒ Symbol, :S3
-
#use_iam_role ⇒ Boolean?
Use IAM role for authentication instead of access/secret keys.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
57 |
# File 'sig/imagekitio/models/accounts/origin_request.rbs', line 57
def initialize: (
|
Instance Attribute Details
#access_key ⇒ String
Access key for the bucket. When useIAMRole is true, send an empty string.
33 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 33 required :access_key, String, api_name: :accessKey |
#base_url_for_canonical_header ⇒ String?
URL used in the Canonical header (if enabled).
62 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 62 optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader |
#bucket ⇒ String
S3 bucket name.
39 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 39 required :bucket, String |
#include_canonical_header ⇒ Boolean?
Whether to send a Canonical header.
68 69 70 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 68 optional :include_canonical_header, Imagekitio::Internal::Type::Boolean, api_name: :includeCanonicalHeader |
#name ⇒ String
Display name of the origin.
45 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 45 required :name, String |
#prefix ⇒ String?
Path prefix inside the bucket.
76 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 76 optional :prefix, String |
#secret_key ⇒ String
Secret key for the bucket. When useIAMRole is true, send an empty string.
51 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 51 required :secret_key, String, api_name: :secretKey |
#type ⇒ Symbol, :S3
56 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 56 required :type, const: :S3 |
#use_iam_role ⇒ Boolean?
Use IAM role for authentication instead of access/secret keys. When set to
true, send an empty string for both accessKey and secretKey.
83 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 83 optional :use_iam_role, Imagekitio::Internal::Type::Boolean, api_name: :useIAMRole |
Instance Method Details
#to_hash ⇒ {
69 |
# File 'sig/imagekitio/models/accounts/origin_request.rbs', line 69
def to_hash: -> {
|