Class: Anthropic::Models::Organization::AWSExternalKeyConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::AWSExternalKeyConfig
- Defined in:
- lib/anthropic/models/organization/aws_external_key_config.rb,
sig/anthropic/models/organization/aws_external_key_config.rbs
Instance Attribute Summary collapse
-
#kms_arn ⇒ String
Full ARN of the AWS KMS key.
-
#region ⇒ String?
AWS region.
- #type ⇒ Symbol, :aws
Instance Method Summary collapse
-
#initialize(kms_arn:, region: nil, type: :aws) ⇒ AWSExternalKeyConfig
constructor
Some parameter documentations has been truncated, see AWSExternalKeyConfig for more details.
- #to_hash ⇒ { kms_arn: String, type: :aws, region: String? }
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(kms_arn:, region: nil, type: :aws) ⇒ AWSExternalKeyConfig
Some parameter documentations has been truncated, see Anthropic::Models::Organization::AWSExternalKeyConfig for more details.
|
|
# File 'lib/anthropic/models/organization/aws_external_key_config.rb', line 26
|
Instance Attribute Details
#kms_arn ⇒ String
Full ARN of the AWS KMS key. On Claude Platform on AWS the key must be a single-Region key in your organization's own AWS account; cross-account keys, multi-Region keys, and alias ARNs are rejected.
13 |
# File 'lib/anthropic/models/organization/aws_external_key_config.rb', line 13 required :kms_arn, String |
#region ⇒ String?
AWS region. Derived from kms_arn if omitted.
24 |
# File 'lib/anthropic/models/organization/aws_external_key_config.rb', line 24 optional :region, String, nil?: true |
#type ⇒ Symbol, :aws
18 |
# File 'lib/anthropic/models/organization/aws_external_key_config.rb', line 18 required :type, const: :aws |
Instance Method Details
#to_hash ⇒ { kms_arn: String, type: :aws, region: String? }
16 |
# File 'sig/anthropic/models/organization/aws_external_key_config.rbs', line 16 def to_hash: -> { kms_arn: String, type: :aws, region: String? } |