AssetsSyncConfigurationProperty Struct Added in v2.278.0
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.
| 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 assetsSyncConfigurationProperty: glue.CfnCatalog.AssetsSyncConfigurationProperty = {
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
assets_sync_configuration_property = 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
)
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.*;
AssetsSyncConfigurationProperty assetsSyncConfigurationProperty = 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();
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 assetsSyncConfigurationProperty = 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
};
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"
assetsSyncConfigurationProperty := &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),
}
Properties
managedCrawlerDetailsoptionalIResolvable | CfnCatalog.managed_crawler_detailsoptionaltyping.Union[IResolvable, ManagedCrawlerDetailsProperty]managedCrawlerDetailsoptionalIResolvableManagedCrawlerDetailsoptionalIResolvableManagedCrawlerDetailsoptionalinterface{} #The state of the crawler Glue manages on your behalf for a synchronization mode.
Returned by the service; Glue rejects it as input.
refreshIntervalMinutesoptionalnumberrefresh_interval_minutesoptionalint | floatrefreshIntervalMinutesoptionalNumberRefreshIntervalMinutesoptionaldoubleRefreshIntervalMinutesoptional*float64 #How often the crawler synchronizes assets, in minutes.
Glue enforces a service-side minimum that may be higher than the minimum accepted here.
Whether asset synchronization is enabled.