Class: AWSCDK::CloudFront::CfnKeyValueStore::ImportSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cloud_front/cfn_key_value_store.rb

Overview

The import source for the key value store.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_arn:, source_type:) ⇒ ImportSourceProperty

Returns a new instance of ImportSourceProperty.

Parameters:

  • source_arn (String)

    The Amazon Resource Name (ARN) of the import source for the key value store.

  • source_type (String)

    The source type of the import source for the key value store.



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_arnString (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_typeString (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_propertiesObject



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_jsiiObject



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