Interface CfnDeliveryStream.SnowflakeDestinationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryStream.SnowflakeDestinationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDeliveryStream
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;
SnowflakeDestinationConfigurationProperty snowflakeDestinationConfigurationProperty = SnowflakeDestinationConfigurationProperty.builder()
.accountUrl("accountUrl")
.database("database")
.roleArn("roleArn")
.s3Configuration(S3DestinationConfigurationProperty.builder()
.bucketArn("bucketArn")
.roleArn("roleArn")
// the properties below are optional
.bufferingHints(BufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.compressionFormat("compressionFormat")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
.awskmsKeyArn("awskmsKeyArn")
.build())
.noEncryptionConfig("noEncryptionConfig")
.build())
.errorOutputPrefix("errorOutputPrefix")
.prefix("prefix")
.build())
.schema("schema")
.table("table")
// the properties below are optional
.bufferingHints(SnowflakeBufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.contentColumnName("contentColumnName")
.dataLoadingOption("dataLoadingOption")
.keyPassphrase("keyPassphrase")
.metaDataColumnName("metaDataColumnName")
.privateKey("privateKey")
.processingConfiguration(ProcessingConfigurationProperty.builder()
.enabled(false)
.processors(List.of(ProcessorProperty.builder()
.type("type")
// the properties below are optional
.parameters(List.of(ProcessorParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.build()))
.build())
.retryOptions(SnowflakeRetryOptionsProperty.builder()
.durationInSeconds(123)
.build())
.s3BackupMode("s3BackupMode")
.secretsManagerConfiguration(SecretsManagerConfigurationProperty.builder()
.enabled(false)
// the properties below are optional
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.snowflakeRoleConfiguration(SnowflakeRoleConfigurationProperty.builder()
.enabled(false)
.snowflakeRole("snowflakeRole")
.build())
.snowflakeVpcConfiguration(SnowflakeVpcConfigurationProperty.builder()
.privateLinkVpceId("privateLinkVpceId")
.build())
.user("user")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDeliveryStream.SnowflakeDestinationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()URL for accessing your Snowflake account.default ObjectDescribes the buffering to perform before delivering data to the Snowflake destination.default ObjectReturns union: eitherIResolvableorCfnDeliveryStream.CloudWatchLoggingOptionsPropertydefault StringThe name of the record content column.All data in Snowflake is maintained in databases.default StringChoose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.default StringPassphrase to decrypt the private key when the key is encrypted.default StringSpecify a column name in the table, where the metadata information has to be loaded.default StringThe private key used to encrypt your Snowflake client.default ObjectReturns union: eitherIResolvableorCfnDeliveryStream.ProcessingConfigurationPropertydefault ObjectThe time period where Firehose will retry sending data to the chosen HTTP endpoint.The Amazon Resource Name (ARN) of the Snowflake role.default StringChoose an S3 backup mode.Returns union: eitherIResolvableorCfnDeliveryStream.S3DestinationConfigurationPropertyEach database consists of one or more schemas, which are logical groupings of database objects, such as tables and views.default ObjectThe configuration that defines how you access secrets for Snowflake.default ObjectOptionally configure a Snowflake role.default ObjectThe VPCE ID for Firehose to privately connect with Snowflake.getTable()All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.default StringgetUser()User login name for the Snowflake account.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountUrl
URL for accessing your Snowflake account.This URL must include your account identifier . Note that the protocol (https://) and port number are optional.
- See Also:
-
getDatabase
All data in Snowflake is maintained in databases.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the Snowflake role.- See Also:
-
getS3Configuration
Returns union: eitherIResolvableorCfnDeliveryStream.S3DestinationConfigurationProperty- See Also:
-
getSchema
Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views.- See Also:
-
getTable
All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.- See Also:
-
getBufferingHints
Describes the buffering to perform before delivering data to the Snowflake destination.If you do not specify any value, Firehose uses the default values.
Returns union: either
IResolvableorCfnDeliveryStream.SnowflakeBufferingHintsProperty- See Also:
-
getCloudWatchLoggingOptions
Returns union: eitherIResolvableorCfnDeliveryStream.CloudWatchLoggingOptionsProperty- See Also:
-
getContentColumnName
The name of the record content column.- See Also:
-
getDataLoadingOption
Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.- See Also:
-
getKeyPassphrase
Passphrase to decrypt the private key when the key is encrypted.For information, see Using Key Pair Authentication & Key Rotation .
- See Also:
-
getMetaDataColumnName
Specify a column name in the table, where the metadata information has to be loaded.When you enable this field, you will see the following column in the snowflake table, which differs based on the source type.
For Direct PUT as source
{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }For Kinesis Data Stream as source
"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }- See Also:
-
getPrivateKey
The private key used to encrypt your Snowflake client.For information, see Using Key Pair Authentication & Key Rotation .
- See Also:
-
getProcessingConfiguration
Returns union: eitherIResolvableorCfnDeliveryStream.ProcessingConfigurationProperty- See Also:
-
getRetryOptions
The time period where Firehose will retry sending data to the chosen HTTP endpoint.Returns union: either
IResolvableorCfnDeliveryStream.SnowflakeRetryOptionsProperty- See Also:
-
getS3BackupMode
Choose an S3 backup mode.- See Also:
-
getSecretsManagerConfiguration
The configuration that defines how you access secrets for Snowflake.Returns union: either
IResolvableorCfnDeliveryStream.SecretsManagerConfigurationProperty- See Also:
-
getSnowflakeRoleConfiguration
Optionally configure a Snowflake role.Otherwise the default user role will be used.
Returns union: either
IResolvableorCfnDeliveryStream.SnowflakeRoleConfigurationProperty- See Also:
-
getSnowflakeVpcConfiguration
The VPCE ID for Firehose to privately connect with Snowflake.The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see Amazon PrivateLink & Snowflake
Returns union: either
IResolvableorCfnDeliveryStream.SnowflakeVpcConfigurationProperty- See Also:
-
getUser
User login name for the Snowflake account.- See Also:
-
builder
@Stability(Stable) static CfnDeliveryStream.SnowflakeDestinationConfigurationProperty.Builder builder()
-