SyncConfigurationProperty Struct Added in v2.278.0
Configuration for synchronizing a federated catalog with its external data source.
Removing this property does not disable synchronization: Glue keeps the stored configuration for anything omitted from an update. To stop synchronizing, set the Status of each mode to DISABLED.
| 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 syncConfigurationProperty: glue.CfnCatalog.SyncConfigurationProperty = {
roleArn: 'roleArn',
// the properties below are optional
assetsSyncConfiguration: {
status: 'status',
// the properties below are optional
managedCrawlerDetails: {
crawlerArn: 'crawlerArn',
error: {
errorCode: 'errorCode',
errorMessage: 'errorMessage',
},
status: 'status',
},
refreshIntervalMinutes: 123,
},
lineageSyncConfiguration: {
status: 'status',
// the properties below are optional
managedCrawlerDetails: {
crawlerArn: 'crawlerArn',
error: {
errorCode: 'errorCode',
errorMessage: 'errorMessage',
},
status: 'status',
},
refreshIntervalMinutes: 123,
},
};
python
# 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
sync_configuration_property = glue.CfnCatalog.SyncConfigurationProperty(
role_arn="roleArn",
# the properties below are optional
assets_sync_configuration=glue.CfnCatalog.AssetsSyncConfigurationProperty(
status="status",
# the properties below are optional
managed_crawler_details=glue.CfnCatalog.ManagedCrawlerDetailsProperty(
crawler_arn="crawlerArn",
error=glue.CfnCatalog.ErrorDetailProperty(
error_code="errorCode",
error_message="errorMessage"
),
status="status"
),
refresh_interval_minutes=123
),
lineage_sync_configuration=glue.CfnCatalog.LineageSyncConfigurationProperty(
status="status",
# the properties below are optional
managed_crawler_details=glue.CfnCatalog.ManagedCrawlerDetailsProperty(
crawler_arn="crawlerArn",
error=glue.CfnCatalog.ErrorDetailProperty(
error_code="errorCode",
error_message="errorMessage"
),
status="status"
),
refresh_interval_minutes=123
)
)
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.*;
SyncConfigurationProperty syncConfigurationProperty = SyncConfigurationProperty.builder()
.roleArn("roleArn")
// the properties below are optional
.assetsSyncConfiguration(AssetsSyncConfigurationProperty.builder()
.status("status")
// the properties below are optional
.managedCrawlerDetails(ManagedCrawlerDetailsProperty.builder()
.crawlerArn("crawlerArn")
.error(ErrorDetailProperty.builder()
.errorCode("errorCode")
.errorMessage("errorMessage")
.build())
.status("status")
.build())
.refreshIntervalMinutes(123)
.build())
.lineageSyncConfiguration(LineageSyncConfigurationProperty.builder()
.status("status")
// the properties below are optional
.managedCrawlerDetails(ManagedCrawlerDetailsProperty.builder()
.crawlerArn("crawlerArn")
.error(ErrorDetailProperty.builder()
.errorCode("errorCode")
.errorMessage("errorMessage")
.build())
.status("status")
.build())
.refreshIntervalMinutes(123)
.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 syncConfigurationProperty = new SyncConfigurationProperty {
RoleArn = "roleArn",
// the properties below are optional
AssetsSyncConfiguration = new AssetsSyncConfigurationProperty {
Status = "status",
// the properties below are optional
ManagedCrawlerDetails = new ManagedCrawlerDetailsProperty {
CrawlerArn = "crawlerArn",
Error = new ErrorDetailProperty {
ErrorCode = "errorCode",
ErrorMessage = "errorMessage"
},
Status = "status"
},
RefreshIntervalMinutes = 123
},
LineageSyncConfiguration = new LineageSyncConfigurationProperty {
Status = "status",
// the properties below are optional
ManagedCrawlerDetails = new ManagedCrawlerDetailsProperty {
CrawlerArn = "crawlerArn",
Error = new ErrorDetailProperty {
ErrorCode = "errorCode",
ErrorMessage = "errorMessage"
},
Status = "status"
},
RefreshIntervalMinutes = 123
}
};
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"
syncConfigurationProperty := &SyncConfigurationProperty{
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AssetsSyncConfiguration: &AssetsSyncConfigurationProperty{
Status: jsii.String("status"),
// the properties below are optional
ManagedCrawlerDetails: &ManagedCrawlerDetailsProperty{
CrawlerArn: jsii.String("crawlerArn"),
Error: &ErrorDetailProperty{
ErrorCode: jsii.String("errorCode"),
ErrorMessage: jsii.String("errorMessage"),
},
Status: jsii.String("status"),
},
RefreshIntervalMinutes: jsii.Number(123),
},
LineageSyncConfiguration: &LineageSyncConfigurationProperty{
Status: jsii.String("status"),
// the properties below are optional
ManagedCrawlerDetails: &ManagedCrawlerDetailsProperty{
CrawlerArn: jsii.String("crawlerArn"),
Error: &ErrorDetailProperty{
ErrorCode: jsii.String("errorCode"),
ErrorMessage: jsii.String("errorMessage"),
},
Status: jsii.String("status"),
},
RefreshIntervalMinutes: jsii.Number(123),
},
}
Properties
assetsSyncConfigurationoptionalIResolvable | CfnCatalog.assets_sync_configurationoptionaltyping.Union[IResolvable, AssetsSyncConfigurationProperty]assetsSyncConfigurationoptionalIResolvableAssetsSyncConfigurationoptionalIResolvableAssetsSyncConfigurationoptionalinterface{} #Configuration for synchronizing assets from the external data source.
Omitting this property on an update leaves the stored configuration unchanged; set Status to DISABLED to stop synchronizing assets.
lineageSyncConfigurationoptionalIResolvable | CfnCatalog.lineage_sync_configurationoptionaltyping.Union[IResolvable, LineageSyncConfigurationProperty]lineageSyncConfigurationoptionalIResolvableLineageSyncConfigurationoptionalIResolvableLineageSyncConfigurationoptionalinterface{} #Configuration for synchronizing lineage from the external data source.
Omitting this property on an update leaves the stored configuration unchanged; set Status to DISABLED to stop synchronizing lineage.
The IAM role, in the catalog owner's account, that the crawlers Glue manages on your behalf assume.