-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnIntegrationProps.go
80 lines (77 loc) · 3.98 KB
/
CfnIntegrationProps.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package awsrds
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnIntegration`.
//
// 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"
//
// cfnIntegrationProps := &CfnIntegrationProps{
// SourceArn: jsii.String("sourceArn"),
// TargetArn: jsii.String("targetArn"),
//
// // the properties below are optional
// AdditionalEncryptionContext: map[string]*string{
// "additionalEncryptionContextKey": jsii.String("additionalEncryptionContext"),
// },
// DataFilter: jsii.String("dataFilter"),
// Description: jsii.String("description"),
// IntegrationName: jsii.String("integrationName"),
// KmsKeyId: jsii.String("kmsKeyId"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html
//
type CfnIntegrationProps struct {
// The Amazon Resource Name (ARN) of the database to use as the source for replication.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-sourcearn
//
SourceArn *string `field:"required" json:"sourceArn" yaml:"sourceArn"`
// The ARN of the Redshift data warehouse to use as the target for replication.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-targetarn
//
TargetArn *string `field:"required" json:"targetArn" yaml:"targetArn"`
// An optional set of non-secret key–value pairs that contains additional contextual information about the data.
//
// For more information, see [Encryption context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) in the *AWS Key Management Service Developer Guide* .
//
// You can only include this parameter if you specify the `KMSKeyId` parameter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-additionalencryptioncontext
//
AdditionalEncryptionContext interface{} `field:"optional" json:"additionalEncryptionContext" yaml:"additionalEncryptionContext"`
// Data filters for the integration.
//
// These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-datafilter
//
DataFilter *string `field:"optional" json:"dataFilter" yaml:"dataFilter"`
// A description of the integration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The name of the integration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-integrationname
//
IntegrationName *string `field:"optional" json:"integrationName" yaml:"integrationName"`
// The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration.
//
// If you don't specify an encryption key, RDS uses a default AWS owned key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-kmskeyid
//
KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"`
// A list of tags.
//
// For more information, see [Tagging Amazon RDS Resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) in the *Amazon RDS User Guide.* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}