Class: AWSCDK::Location::CfnPlaceIndex::DataSourceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
location/cfn_place_index.rb

Overview

Specifies the data storage option requesting Places.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(intended_use: nil) ⇒ DataSourceConfigurationProperty

Returns a new instance of DataSourceConfigurationProperty.

Parameters:

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

    Specifies how the results of an operation will be stored by the caller.



645
646
647
648
# File 'location/cfn_place_index.rb', line 645

def initialize(intended_use: nil)
  @intended_use = intended_use
  Jsii::Type.check_type(@intended_use, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "intendedUse") unless @intended_use.nil?
end

Instance Attribute Details

#intended_useString? (readonly)

Specifies how the results of an operation will be stored by the caller.

Valid values include:

  • SingleUse specifies that the results won't be stored.
  • Storage specifies that the result can be cached or stored in a database.

Default value: SingleUse



661
662
663
# File 'location/cfn_place_index.rb', line 661

def intended_use
  @intended_use
end

Class Method Details

.jsii_propertiesObject



663
664
665
666
667
# File 'location/cfn_place_index.rb', line 663

def self.jsii_properties
  {
    :intended_use => "intendedUse",
  }
end

Instance Method Details

#to_jsiiObject



669
670
671
672
673
674
675
# File 'location/cfn_place_index.rb', line 669

def to_jsii
  result = {}
  result.merge!({
    "intendedUse" => @intended_use,
  })
  result.compact
end