# AssetsSyncConfigurationProperty

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: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `managedCrawlerDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCatalog.ManagedCrawlerDetailsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnCatalog.ManagedCrawlerDetailsProperty.html) — The state of the crawler Glue manages on your behalf for a synchronization mode.

  Returned by the service; Glue rejects it as input.

- `refreshIntervalMinutes`: number — How often the crawler synchronizes assets, in minutes.

  Glue enforces a service-side minimum that may be higher than the minimum accepted here.

- `status`: string (required) — Whether asset synchronization is enabled.
