Class: AWSCDK::CustomerProfiles::CfnDomain::ConflictResolutionProperty

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

Overview

Determines how the auto-merging process should resolve conflicts between different profiles.

For example, if Profile A and Profile B have the same FirstName and LastName , ConflictResolution specifies which EmailAddress should be used.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conflict_resolving_model:, source_name: nil) ⇒ ConflictResolutionProperty

Returns a new instance of ConflictResolutionProperty.

Parameters:

  • conflict_resolving_model (String)

    How the auto-merging process should resolve conflicts between different profiles.

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

    The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .



797
798
799
800
801
802
# File 'customer_profiles/cfn_domain.rb', line 797

def initialize(conflict_resolving_model:, source_name: nil)
  @conflict_resolving_model = conflict_resolving_model
  Jsii::Type.check_type(@conflict_resolving_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "conflictResolvingModel")
  @source_name = source_name
  Jsii::Type.check_type(@source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceName") unless @source_name.nil?
end

Instance Attribute Details

#conflict_resolving_modelString (readonly)

How the auto-merging process should resolve conflicts between different profiles.



808
809
810
# File 'customer_profiles/cfn_domain.rb', line 808

def conflict_resolving_model
  @conflict_resolving_model
end

#source_nameString? (readonly)

The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .



813
814
815
# File 'customer_profiles/cfn_domain.rb', line 813

def source_name
  @source_name
end

Class Method Details

.jsii_propertiesObject



815
816
817
818
819
820
# File 'customer_profiles/cfn_domain.rb', line 815

def self.jsii_properties
  {
    :conflict_resolving_model => "conflictResolvingModel",
    :source_name => "sourceName",
  }
end

Instance Method Details

#to_jsiiObject



822
823
824
825
826
827
828
829
# File 'customer_profiles/cfn_domain.rb', line 822

def to_jsii
  result = {}
  result.merge!({
    "conflictResolvingModel" => @conflict_resolving_model,
    "sourceName" => @source_name,
  })
  result.compact
end