Class: AWSCDK::CustomerProfiles::CfnDomain::DataStoreProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_domain.rb

Overview

Configuration and status of the data store for the domain.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil, readiness: nil) ⇒ DataStoreProperty

Returns a new instance of DataStoreProperty.

Parameters:



875
876
877
878
879
880
# File 'customer_profiles/cfn_domain.rb', line 875

def initialize(enabled: nil, readiness: nil)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
  @readiness = readiness.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnDomain::ReadinessProperty.new(**readiness.transform_keys(&:to_sym)) : readiness
  Jsii::Type.check_type(@readiness, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkRvbWFpbi5SZWFkaW5lc3NQcm9wZXJ0eSJ9XX19")), "readiness") unless @readiness.nil?
end

Instance Attribute Details

#enabledBoolean, ... (readonly)

Whether the data store is enabled.



886
887
888
# File 'customer_profiles/cfn_domain.rb', line 886

def enabled
  @enabled
end

#readinessAWSCDK::IResolvable, ... (readonly)

Progress information for data store setup.



891
892
893
# File 'customer_profiles/cfn_domain.rb', line 891

def readiness
  @readiness
end

Class Method Details

.jsii_propertiesObject



893
894
895
896
897
898
# File 'customer_profiles/cfn_domain.rb', line 893

def self.jsii_properties
  {
    :enabled => "enabled",
    :readiness => "readiness",
  }
end

Instance Method Details

#to_jsiiObject



900
901
902
903
904
905
906
907
# File 'customer_profiles/cfn_domain.rb', line 900

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