Class: AWSCDK::CloudFront::CfnKeyValueStore::ImportSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnKeyValueStore::ImportSourceProperty
- Defined in:
- cloud_front/cfn_key_value_store.rb
Overview
The import source for the key value store.
Instance Attribute Summary collapse
-
#source_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the import source for the key value store.
-
#source_type ⇒ String
readonly
The source type of the import source for the key value store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_arn:, source_type:) ⇒ ImportSourceProperty
constructor
A new instance of ImportSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_arn:, source_type:) ⇒ ImportSourceProperty
Returns a new instance of ImportSourceProperty.
578 579 580 581 582 583 |
# File 'cloud_front/cfn_key_value_store.rb', line 578 def initialize(source_arn:, source_type:) @source_arn = source_arn Jsii::Type.check_type(@source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceArn") @source_type = source_type Jsii::Type.check_type(@source_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceType") end |
Instance Attribute Details
#source_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the import source for the key value store.
589 590 591 |
# File 'cloud_front/cfn_key_value_store.rb', line 589 def source_arn @source_arn end |
#source_type ⇒ String (readonly)
The source type of the import source for the key value store.
594 595 596 |
# File 'cloud_front/cfn_key_value_store.rb', line 594 def source_type @source_type end |
Class Method Details
.jsii_properties ⇒ Object
596 597 598 599 600 601 |
# File 'cloud_front/cfn_key_value_store.rb', line 596 def self.jsii_properties { :source_arn => "sourceArn", :source_type => "sourceType", } end |
Instance Method Details
#to_jsii ⇒ Object
603 604 605 606 607 608 609 610 |
# File 'cloud_front/cfn_key_value_store.rb', line 603 def to_jsii result = {} result.merge!({ "sourceArn" => @source_arn, "sourceType" => @source_type, }) result.compact end |