# AutoSnapshotAddOnProperty

`AutoSnapshotAddOn` is a property of the [AddOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html) property. It describes the automatic snapshot add-on for a disk.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const autoSnapshotAddOnProperty: lightsail.CfnDisk.AutoSnapshotAddOnProperty = {
  snapshotTimeOfDay: 'snapshotTimeOfDay',
};
```

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_lightsail as lightsail

auto_snapshot_add_on_property = lightsail.CfnDisk.AutoSnapshotAddOnProperty(
    snapshot_time_of_day="snapshotTimeOfDay"
)
```

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.lightsail.*;

AutoSnapshotAddOnProperty autoSnapshotAddOnProperty = AutoSnapshotAddOnProperty.builder()
        .snapshotTimeOfDay("snapshotTimeOfDay")
        .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.Lightsail;

var autoSnapshotAddOnProperty = new AutoSnapshotAddOnProperty {
    SnapshotTimeOfDay = "snapshotTimeOfDay"
};
```

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"

autoSnapshotAddOnProperty := &AutoSnapshotAddOnProperty{
	SnapshotTimeOfDay: jsii.String("snapshotTimeOfDay"),
}
```

## Properties

- `snapshotTimeOfDay`: string — The daily time when an automatic snapshot will be created.

  Constraints:

  - Must be in `HH:00` format, and in an hourly increment.
  - Specified in Coordinated Universal Time (UTC).
  - The snapshot will be automatically created between the time specified and up to 45 minutes after.
