-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDeliveryStream_SchemaConfigurationProperty.go
62 lines (59 loc) · 3.95 KB
/
CfnDeliveryStream_SchemaConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package awskinesisfirehose
// Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3.
//
// This parameter is required if `Enabled` is set to true.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// schemaConfigurationProperty := &SchemaConfigurationProperty{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
// Region: jsii.String("region"),
// RoleArn: jsii.String("roleArn"),
// TableName: jsii.String("tableName"),
// VersionId: jsii.String("versionId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html
//
type CfnDeliveryStream_SchemaConfigurationProperty struct {
// The ID of the AWS Glue Data Catalog.
//
// If you don't supply this, the AWS account ID is used by default.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-catalogid
//
CatalogId *string `field:"optional" json:"catalogId" yaml:"catalogId"`
// Specifies the name of the AWS Glue database that contains the schema for the output data.
//
// > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `DatabaseName` property is required and its value must be specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-databasename
//
DatabaseName *string `field:"optional" json:"databaseName" yaml:"databaseName"`
// If you don't specify an AWS Region, the default is the current Region.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-region
//
Region *string `field:"optional" json:"region" yaml:"region"`
// The role that Kinesis Data Firehose can use to access AWS Glue.
//
// This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
//
// > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `RoleARN` property is required and its value must be specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-rolearn
//
RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"`
// Specifies the AWS Glue table that contains the column information that constitutes your data schema.
//
// > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `TableName` property is required and its value must be specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-tablename
//
TableName *string `field:"optional" json:"tableName" yaml:"tableName"`
// Specifies the table version for the output data schema.
//
// If you don't specify this version ID, or if you set it to `LATEST` , Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-versionid
//
VersionId *string `field:"optional" json:"versionId" yaml:"versionId"`
}