Class: AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfilePropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfilePropertiesProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific profile properties required when using Snowflake.
Instance Attribute Summary collapse
-
#account_name ⇒ String?
readonly
The name of the account.
-
#bucket_name ⇒ String
readonly
The name of the Amazon S3 bucket associated with Snowflake.
-
#bucket_prefix ⇒ String?
readonly
The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
-
#private_link_service_name ⇒ String?
readonly
The Snowflake Private Link service name to be used for private data transfers.
-
#region ⇒ String?
readonly
The AWS Region of the Snowflake account.
-
#stage ⇒ String
readonly
The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account.
-
#warehouse ⇒ String
readonly
The name of the Snowflake warehouse.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, stage:, warehouse:, account_name: nil, bucket_prefix: nil, private_link_service_name: nil, region: nil) ⇒ SnowflakeConnectorProfilePropertiesProperty
constructor
A new instance of SnowflakeConnectorProfilePropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, stage:, warehouse:, account_name: nil, bucket_prefix: nil, private_link_service_name: nil, region: nil) ⇒ SnowflakeConnectorProfilePropertiesProperty
Returns a new instance of SnowflakeConnectorProfilePropertiesProperty.
2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 |
# File 'app_flow/cfn_connector_profile.rb', line 2837 def initialize(bucket_name:, stage:, warehouse:, account_name: nil, bucket_prefix: nil, private_link_service_name: nil, region: nil) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @stage = stage Jsii::Type.check_type(@stage, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stage") @warehouse = warehouse Jsii::Type.check_type(@warehouse, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "warehouse") @account_name = account_name Jsii::Type.check_type(@account_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountName") unless @account_name.nil? @bucket_prefix = bucket_prefix Jsii::Type.check_type(@bucket_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketPrefix") unless @bucket_prefix.nil? @private_link_service_name = private_link_service_name Jsii::Type.check_type(@private_link_service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateLinkServiceName") unless @private_link_service_name.nil? @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil? end |
Instance Attribute Details
#account_name ⇒ String? (readonly)
The name of the account.
2875 2876 2877 |
# File 'app_flow/cfn_connector_profile.rb', line 2875 def account_name @account_name end |
#bucket_name ⇒ String (readonly)
The name of the Amazon S3 bucket associated with Snowflake.
2858 2859 2860 |
# File 'app_flow/cfn_connector_profile.rb', line 2858 def bucket_name @bucket_name end |
#bucket_prefix ⇒ String? (readonly)
The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
2880 2881 2882 |
# File 'app_flow/cfn_connector_profile.rb', line 2880 def bucket_prefix @bucket_prefix end |
#private_link_service_name ⇒ String? (readonly)
The Snowflake Private Link service name to be used for private data transfers.
2885 2886 2887 |
# File 'app_flow/cfn_connector_profile.rb', line 2885 def private_link_service_name @private_link_service_name end |
#region ⇒ String? (readonly)
The AWS Region of the Snowflake account.
2890 2891 2892 |
# File 'app_flow/cfn_connector_profile.rb', line 2890 def region @region end |
#stage ⇒ String (readonly)
The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account.
This is written in the following format: < Database>< Schema>
2865 2866 2867 |
# File 'app_flow/cfn_connector_profile.rb', line 2865 def stage @stage end |
#warehouse ⇒ String (readonly)
The name of the Snowflake warehouse.
2870 2871 2872 |
# File 'app_flow/cfn_connector_profile.rb', line 2870 def warehouse @warehouse end |
Class Method Details
.jsii_properties ⇒ Object
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 |
# File 'app_flow/cfn_connector_profile.rb', line 2892 def self.jsii_properties { :bucket_name => "bucketName", :stage => "stage", :warehouse => "warehouse", :account_name => "accountName", :bucket_prefix => "bucketPrefix", :private_link_service_name => "privateLinkServiceName", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 |
# File 'app_flow/cfn_connector_profile.rb', line 2904 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "stage" => @stage, "warehouse" => @warehouse, "accountName" => @account_name, "bucketPrefix" => @bucket_prefix, "privateLinkServiceName" => @private_link_service_name, "region" => @region, }) result.compact end |