CfnIntegrationProps Struct
Properties for defining a CfnIntegration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnIntegrationProps: rds.CfnIntegrationProps = {
sourceArn: 'sourceArn',
targetArn: 'targetArn',
// the properties below are optional
additionalEncryptionContext: {
additionalEncryptionContextKey: 'additionalEncryptionContext',
},
dataFilter: 'dataFilter',
description: 'description',
integrationName: 'integrationName',
kmsKeyId: 'kmsKeyId',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rds as rds
cfn_integration_props = rds.CfnIntegrationProps(
source_arn="sourceArn",
target_arn="targetArn",
# the properties below are optional
additional_encryption_context={
"additional_encryption_context_key": "additionalEncryptionContext"
},
data_filter="dataFilter",
description="description",
integration_name="integrationName",
kms_key_id="kmsKeyId",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;
CfnIntegrationProps cfnIntegrationProps = CfnIntegrationProps.builder()
.sourceArn("sourceArn")
.targetArn("targetArn")
// the properties below are optional
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.dataFilter("dataFilter")
.description("description")
.integrationName("integrationName")
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var cfnIntegrationProps = new CfnIntegrationProps {
SourceArn = "sourceArn",
TargetArn = "targetArn",
// the properties below are optional
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
DataFilter = "dataFilter",
Description = "description",
IntegrationName = "integrationName",
KmsKeyId = "kmsKeyId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"),
},
},
}
Properties
additionalEncryptionContextoptionalIResolvable | { [key: string]: string }additional_encryption_contextoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]additionalEncryptionContextoptionalIResolvableAdditionalEncryptionContextoptionalIResolvableAdditionalEncryptionContextoptionalinterface{} #An optional set of non-secret key–value pairs that contains additional contextual information about the data.
notes
For more information, see Encryption context in the AWS Key Management Service Developer Guide .
You can only include this parameter if you specify the KMSKeyId parameter.
dataFilteroptionalstringdata_filteroptionalstrdataFilteroptionalStringDataFilteroptionalstringDataFilteroptional*string #Data filters for the integration.
These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the integration.
integrationNameoptionalstringintegration_nameoptionalstrintegrationNameoptionalStringIntegrationNameoptionalstringIntegrationNameoptional*string #The name of the integration.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #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.
The Amazon Resource Name (ARN) of the database to use as the source for replication.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An optional array of key-value pairs to apply to this integration.
The ARN of the Redshift data warehouse to use as the target for replication.