-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeTargetRedshiftDataParametersProperty.go
62 lines (59 loc) · 3.14 KB
/
CfnPipe_PipeTargetRedshiftDataParametersProperty.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 awspipes
// These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
//
// 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"
//
// pipeTargetRedshiftDataParametersProperty := &PipeTargetRedshiftDataParametersProperty{
// Database: jsii.String("database"),
// Sqls: []*string{
// jsii.String("sqls"),
// },
//
// // the properties below are optional
// DbUser: jsii.String("dbUser"),
// SecretManagerArn: jsii.String("secretManagerArn"),
// StatementName: jsii.String("statementName"),
// WithEvent: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html
//
type CfnPipe_PipeTargetRedshiftDataParametersProperty struct {
// The name of the database.
//
// Required when authenticating using temporary credentials.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-database
//
Database *string `field:"required" json:"database" yaml:"database"`
// The SQL statement text to run.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-sqls
//
Sqls *[]*string `field:"required" json:"sqls" yaml:"sqls"`
// The database user name.
//
// Required when authenticating using temporary credentials.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-dbuser
//
DbUser *string `field:"optional" json:"dbUser" yaml:"dbUser"`
// The name or ARN of the secret that enables access to the database.
//
// Required when authenticating using Secrets Manager .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-secretmanagerarn
//
SecretManagerArn *string `field:"optional" json:"secretManagerArn" yaml:"secretManagerArn"`
// The name of the SQL statement.
//
// You can name the SQL statement when you create it to identify the query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-statementname
//
StatementName *string `field:"optional" json:"statementName" yaml:"statementName"`
// Indicates whether to send an event back to EventBridge after the SQL statement runs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetredshiftdataparameters.html#cfn-pipes-pipe-pipetargetredshiftdataparameters-withevent
//
// Default: - false.
//
WithEvent interface{} `field:"optional" json:"withEvent" yaml:"withEvent"`
}