CfnIntegrationResourcePropertyProps Struct
Properties for defining a CfnIntegrationResourceProperty.
| 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_glue as glue } from 'aws-cdk-lib';
const cfnIntegrationResourcePropertyProps: glue.CfnIntegrationResourcePropertyProps = {
resourceArn: 'resourceArn',
// the properties below are optional
sourceProcessingProperties: {
roleArn: 'roleArn',
},
tags: [{
key: 'key',
value: 'value',
}],
targetProcessingProperties: {
roleArn: 'roleArn',
// the properties below are optional
connectionName: 'connectionName',
eventBusArn: 'eventBusArn',
kmsArn: 'kmsArn',
},
};
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_glue as glue
cfn_integration_resource_property_props = glue.CfnIntegrationResourcePropertyProps(
resource_arn="resourceArn",
# the properties below are optional
source_processing_properties=glue.CfnIntegrationResourceProperty.SourceProcessingPropertiesProperty(
role_arn="roleArn"
),
tags=[CfnTag(
key="key",
value="value"
)],
target_processing_properties=glue.CfnIntegrationResourceProperty.TargetProcessingPropertiesProperty(
role_arn="roleArn",
# the properties below are optional
connection_name="connectionName",
event_bus_arn="eventBusArn",
kms_arn="kmsArn"
)
)
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.glue.*;
CfnIntegrationResourcePropertyProps cfnIntegrationResourcePropertyProps = CfnIntegrationResourcePropertyProps.builder()
.resourceArn("resourceArn")
// the properties below are optional
.sourceProcessingProperties(SourceProcessingPropertiesProperty.builder()
.roleArn("roleArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetProcessingProperties(TargetProcessingPropertiesProperty.builder()
.roleArn("roleArn")
// the properties below are optional
.connectionName("connectionName")
.eventBusArn("eventBusArn")
.kmsArn("kmsArn")
.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.Glue;
var cfnIntegrationResourcePropertyProps = new CfnIntegrationResourcePropertyProps {
ResourceArn = "resourceArn",
// the properties below are optional
SourceProcessingProperties = new SourceProcessingPropertiesProperty {
RoleArn = "roleArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetProcessingProperties = new TargetProcessingPropertiesProperty {
RoleArn = "roleArn",
// the properties below are optional
ConnectionName = "connectionName",
EventBusArn = "eventBusArn",
KmsArn = "kmsArn"
}
};
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"
cfnIntegrationResourcePropertyProps := &CfnIntegrationResourcePropertyProps{
ResourceArn: jsii.String("resourceArn"),
// the properties below are optional
SourceProcessingProperties: &SourceProcessingPropertiesProperty{
RoleArn: jsii.String("roleArn"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TargetProcessingProperties: &TargetProcessingPropertiesProperty{
RoleArn: jsii.String("roleArn"),
// the properties below are optional
ConnectionName: jsii.String("connectionName"),
EventBusArn: jsii.String("eventBusArn"),
KmsArn: jsii.String("kmsArn"),
},
}
Properties
The connection ARN of the source, or the database ARN of the target.
sourceProcessingPropertiesoptionalIResolvable | CfnIntegrationResourceProperty.source_processing_propertiesoptionaltyping.Union[IResolvable, SourceProcessingPropertiesProperty]sourceProcessingPropertiesoptionalIResolvableSourceProcessingPropertiesoptionalIResolvableSourceProcessingPropertiesoptionalinterface{} #The resource properties associated with the integration source.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An array of key-value pairs to apply to this resource.
targetProcessingPropertiesoptionalIResolvable | CfnIntegrationResourceProperty.target_processing_propertiesoptionaltyping.Union[IResolvable, TargetProcessingPropertiesProperty]targetProcessingPropertiesoptionalIResolvableTargetProcessingPropertiesoptionalIResolvableTargetProcessingPropertiesoptionalinterface{} #The structure used to define the resource properties associated with the integration target.