# SoftwareUpdateOptionsProperty

Options for configuring service software updates for a domain.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 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_opensearchservice as opensearchservice } from 'aws-cdk-lib';
const softwareUpdateOptionsProperty: opensearchservice.CfnDomain.SoftwareUpdateOptionsProperty = {
  autoSoftwareUpdateEnabled: false,
  useLatestServiceSoftwareForBlueGreen: false,
};
```

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_opensearchservice as opensearchservice

software_update_options_property = opensearchservice.CfnDomain.SoftwareUpdateOptionsProperty(
    auto_software_update_enabled=False,
    use_latest_service_software_for_blue_green=False
)
```

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

SoftwareUpdateOptionsProperty softwareUpdateOptionsProperty = SoftwareUpdateOptionsProperty.builder()
        .autoSoftwareUpdateEnabled(false)
        .useLatestServiceSoftwareForBlueGreen(false)
        .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.OpenSearchService;

var softwareUpdateOptionsProperty = new SoftwareUpdateOptionsProperty {
    AutoSoftwareUpdateEnabled = false,
    UseLatestServiceSoftwareForBlueGreen = false
};
```

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"

softwareUpdateOptionsProperty := &SoftwareUpdateOptionsProperty{
	AutoSoftwareUpdateEnabled: jsii.Boolean(false),
	UseLatestServiceSoftwareForBlueGreen: jsii.Boolean(false),
}
```

## Properties

- `autoSoftwareUpdateEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether automatic service software updates are enabled for the domain.

- `useLatestServiceSoftwareForBlueGreen`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)
