Class: AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfilePropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_connector_profile.rb

Overview

The connector-specific profile properties required when using Snowflake.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • bucket_name (String)

    The name of the Amazon S3 bucket associated with Snowflake.

  • stage (String)

    The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account.

  • warehouse (String)

    The name of the Snowflake warehouse.

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

    The name of the account.

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

    The bucket path that refers to the Amazon S3 bucket associated with Snowflake.

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

    The Snowflake Private Link service name to be used for private data transfers.

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

    The AWS Region of the Snowflake account.



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 = 
  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_nameString? (readonly)

The name of the account.



2875
2876
2877
# File 'app_flow/cfn_connector_profile.rb', line 2875

def 
  @account_name
end

#bucket_nameString (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_prefixString? (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

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

#regionString? (readonly)

The AWS Region of the Snowflake account.



2890
2891
2892
# File 'app_flow/cfn_connector_profile.rb', line 2890

def region
  @region
end

#stageString (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

#warehouseString (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_propertiesObject



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_jsiiObject



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