package awsdatabrew // Represents a JDBC database output object which defines the output destination for a DataBrew recipe job to write into. // // 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" // // databaseOutputProperty := &DatabaseOutputProperty{ // DatabaseOptions: &DatabaseTableOutputOptionsProperty{ // TableName: jsii.String("tableName"), // // // the properties below are optional // TempDirectory: &S3LocationProperty{ // Bucket: jsii.String("bucket"), // // // the properties below are optional // BucketOwner: jsii.String("bucketOwner"), // Key: jsii.String("key"), // }, // }, // GlueConnectionName: jsii.String("glueConnectionName"), // // // the properties below are optional // DatabaseOutputMode: jsii.String("databaseOutputMode"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html // type CfnJob_DatabaseOutputProperty struct { // Represents options that specify how and where DataBrew writes the database output generated by recipe jobs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-databaseoptions // DatabaseOptions interface{} `field:"required" json:"databaseOptions" yaml:"databaseOptions"` // The AWS Glue connection that stores the connection information for the target database. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-glueconnectionname // GlueConnectionName *string `field:"required" json:"glueConnectionName" yaml:"glueConnectionName"` // The output mode to write into the database. // // Currently supported option: NEW_TABLE. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-databaseoutputmode // DatabaseOutputMode *string `field:"optional" json:"databaseOutputMode" yaml:"databaseOutputMode"` }