Class: Anthropic::Models::Beta::Organization::BetaAWSExternalKeyConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb,
sig/anthropic/models/beta/organization/beta_aws_external_key_config.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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, role_arn: nil, type: :aws) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAWSExternalKeyConfig for more details.

Parameters:

  • kms_arn (String)

    Full ARN of the AWS KMS key.

  • region (String, nil) (defaults to: nil)

    AWS region. Derived from kms_arn if omitted.

  • role_arn (String, nil) (defaults to: nil)

    IAM role ARN. Deprecated — Anthropic reaches the KMS key via a managed intermedi

  • type (Symbol, :aws) (defaults to: :aws)


# File 'lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb', line 34

Instance Attribute Details

#kms_arnString

Full ARN of the AWS KMS key.

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb', line 12

required :kms_arn, String

#regionString?

AWS region. Derived from kms_arn if omitted.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


23
# File 'lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb', line 23

optional :region, String, nil?: true

#role_arnString?

Deprecated.

IAM role ARN. Deprecated — Anthropic reaches the KMS key via a managed intermediate role; this field is ignored.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


32
# File 'lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb', line 32

optional :role_arn, String, nil?: true

#typeSymbol, :aws

Parameters:

  • value (:aws)

Returns:

  • (Symbol, :aws)


17
# File 'lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb', line 17

required :type, const: :aws

Instance Method Details

#to_hash{

Returns:

  • ({)


24
# File 'sig/anthropic/models/beta/organization/beta_aws_external_key_config.rbs', line 24

def to_hash: -> {