Class: AWSCDK::SecretsManager::CfnRotationSchedule::ExternalSecretRotationMetadataItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecretsManager::CfnRotationSchedule::ExternalSecretRotationMetadataItemProperty
- Defined in:
- secrets_manager/cfn_rotation_schedule.rb
Overview
The metadata needed to successfully rotate a managed external secret.
A list of key value pairs in JSON format specified by the partner. For more information, see Managed external secret partners .
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The key that identifies the item.
-
#value ⇒ String
readonly
The value of the specified item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ ExternalSecretRotationMetadataItemProperty
constructor
A new instance of ExternalSecretRotationMetadataItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ ExternalSecretRotationMetadataItemProperty
Returns a new instance of ExternalSecretRotationMetadataItemProperty.
600 601 602 603 604 605 |
# File 'secrets_manager/cfn_rotation_schedule.rb', line 600 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key that identifies the item.
611 612 613 |
# File 'secrets_manager/cfn_rotation_schedule.rb', line 611 def key @key end |
#value ⇒ String (readonly)
The value of the specified item.
616 617 618 |
# File 'secrets_manager/cfn_rotation_schedule.rb', line 616 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
618 619 620 621 622 623 |
# File 'secrets_manager/cfn_rotation_schedule.rb', line 618 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
625 626 627 628 629 630 631 632 |
# File 'secrets_manager/cfn_rotation_schedule.rb', line 625 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |