Class: AWSCDK::CustomerProfiles::CfnIntegration::ConnectorOperatorProperty

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

Overview

The operation to be performed on the provided source fields.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(marketo: nil, s3: nil, salesforce: nil, service_now: nil, zendesk: nil) ⇒ ConnectorOperatorProperty

Returns a new instance of ConnectorOperatorProperty.

Parameters:

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

    The operation to be performed on the provided Marketo source fields.

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

    The operation to be performed on the provided Amazon S3 source fields.

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

    The operation to be performed on the provided Salesforce source fields.

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

    The operation to be performed on the provided ServiceNow source fields.

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

    The operation to be performed on the provided Zendesk source fields.



614
615
616
617
618
619
620
621
622
623
624
625
# File 'customer_profiles/cfn_integration.rb', line 614

def initialize(marketo: nil, s3: nil, salesforce: nil, service_now: nil, zendesk: nil)
  @marketo = marketo
  Jsii::Type.check_type(@marketo, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "marketo") unless @marketo.nil?
  @s3 = s3
  Jsii::Type.check_type(@s3, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3") unless @s3.nil?
  @salesforce = salesforce
  Jsii::Type.check_type(@salesforce, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "salesforce") unless @salesforce.nil?
  @service_now = service_now
  Jsii::Type.check_type(@service_now, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceNow") unless @service_now.nil?
  @zendesk = zendesk
  Jsii::Type.check_type(@zendesk, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "zendesk") unless @zendesk.nil?
end

Instance Attribute Details

#marketoString? (readonly)

The operation to be performed on the provided Marketo source fields.



631
632
633
# File 'customer_profiles/cfn_integration.rb', line 631

def marketo
  @marketo
end

#s3String? (readonly)

The operation to be performed on the provided Amazon S3 source fields.



636
637
638
# File 'customer_profiles/cfn_integration.rb', line 636

def s3
  @s3
end

#salesforceString? (readonly)

The operation to be performed on the provided Salesforce source fields.



641
642
643
# File 'customer_profiles/cfn_integration.rb', line 641

def salesforce
  @salesforce
end

#service_nowString? (readonly)

The operation to be performed on the provided ServiceNow source fields.



646
647
648
# File 'customer_profiles/cfn_integration.rb', line 646

def service_now
  @service_now
end

#zendeskString? (readonly)

The operation to be performed on the provided Zendesk source fields.



651
652
653
# File 'customer_profiles/cfn_integration.rb', line 651

def zendesk
  @zendesk
end

Class Method Details

.jsii_propertiesObject



653
654
655
656
657
658
659
660
661
# File 'customer_profiles/cfn_integration.rb', line 653

def self.jsii_properties
  {
    :marketo => "marketo",
    :s3 => "s3",
    :salesforce => "salesforce",
    :service_now => "serviceNow",
    :zendesk => "zendesk",
  }
end

Instance Method Details

#to_jsiiObject



663
664
665
666
667
668
669
670
671
672
673
# File 'customer_profiles/cfn_integration.rb', line 663

def to_jsii
  result = {}
  result.merge!({
    "marketo" => @marketo,
    "s3" => @s3,
    "salesforce" => @salesforce,
    "serviceNow" => @service_now,
    "zendesk" => @zendesk,
  })
  result.compact
end