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_redshift as redshift } from 'aws-cdk-lib';
const cfnIntegrationProps: redshift.CfnIntegrationProps = {
sourceArn: 'sourceArn',
targetArn: 'targetArn',
// the properties below are optional
additionalEncryptionContext: {
additionalEncryptionContextKey: 'additionalEncryptionContext',
},
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_redshift as redshift
cfn_integration_props = redshift.CfnIntegrationProps(
source_arn="sourceArn",
target_arn="targetArn",
# the properties below are optional
additional_encryption_context={
"additional_encryption_context_key": "additionalEncryptionContext"
},
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.redshift.*;
CfnIntegrationProps cfnIntegrationProps = CfnIntegrationProps.builder()
.sourceArn("sourceArn")
.targetArn("targetArn")
// the properties below are optional
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.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.Redshift;
var cfnIntegrationProps = new CfnIntegrationProps {
SourceArn = "sourceArn",
TargetArn = "targetArn",
// the properties below are optional
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
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"),
},
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{} #The encryption context for the integration.
For more information, see Encryption context in the AWS Key Management Service Developer Guide .
integrationNameoptionalstringintegration_nameoptionalstrintegrationNameoptionalStringIntegrationNameoptionalstringIntegrationNameoptional*string #The name of the integration.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The AWS Key Management Service ( AWS KMS) key identifier for the key used to encrypt the integration.
The Amazon Resource Name (ARN) of the database used as the source for replication.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The list of tags associated with the integration.
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.