Class: AWSCDK::AppFlow::CfnConnectorProfile::PardotConnectorProfilePropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::PardotConnectorProfilePropertiesProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific profile properties required when using Salesforce Pardot.
Instance Attribute Summary collapse
-
#business_unit_id ⇒ String
readonly
The business unit id of Salesforce Pardot instance.
-
#instance_url ⇒ String?
readonly
The location of the Salesforce Pardot resource.
-
#is_sandbox_environment ⇒ Boolean, ...
readonly
Indicates whether the connector profile applies to a sandbox or production environment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(business_unit_id:, instance_url: nil, is_sandbox_environment: nil) ⇒ PardotConnectorProfilePropertiesProperty
constructor
A new instance of PardotConnectorProfilePropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(business_unit_id:, instance_url: nil, is_sandbox_environment: nil) ⇒ PardotConnectorProfilePropertiesProperty
Returns a new instance of PardotConnectorProfilePropertiesProperty.
2049 2050 2051 2052 2053 2054 2055 2056 |
# File 'app_flow/cfn_connector_profile.rb', line 2049 def initialize(business_unit_id:, instance_url: nil, is_sandbox_environment: nil) @business_unit_id = business_unit_id Jsii::Type.check_type(@business_unit_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "businessUnitId") @instance_url = instance_url Jsii::Type.check_type(@instance_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceUrl") unless @instance_url.nil? @is_sandbox_environment = is_sandbox_environment Jsii::Type.check_type(@is_sandbox_environment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isSandboxEnvironment") unless @is_sandbox_environment.nil? end |
Instance Attribute Details
#business_unit_id ⇒ String (readonly)
The business unit id of Salesforce Pardot instance.
2062 2063 2064 |
# File 'app_flow/cfn_connector_profile.rb', line 2062 def business_unit_id @business_unit_id end |
#instance_url ⇒ String? (readonly)
The location of the Salesforce Pardot resource.
2067 2068 2069 |
# File 'app_flow/cfn_connector_profile.rb', line 2067 def instance_url @instance_url end |
#is_sandbox_environment ⇒ Boolean, ... (readonly)
Indicates whether the connector profile applies to a sandbox or production environment.
2072 2073 2074 |
# File 'app_flow/cfn_connector_profile.rb', line 2072 def is_sandbox_environment @is_sandbox_environment end |
Class Method Details
.jsii_properties ⇒ Object
2074 2075 2076 2077 2078 2079 2080 |
# File 'app_flow/cfn_connector_profile.rb', line 2074 def self.jsii_properties { :business_unit_id => "businessUnitId", :instance_url => "instanceUrl", :is_sandbox_environment => "isSandboxEnvironment", } end |
Instance Method Details
#to_jsii ⇒ Object
2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'app_flow/cfn_connector_profile.rb', line 2082 def to_jsii result = {} result.merge!({ "businessUnitId" => @business_unit_id, "instanceUrl" => @instance_url, "isSandboxEnvironment" => @is_sandbox_environment, }) result.compact end |