# ServiceSoftwareOptionsProperty

The current status of the service software for an Amazon OpenSearch Service domain.

For more information, see [Service software updates in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html) .

- 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_opensearchservice as opensearchservice } from 'aws-cdk-lib';
const serviceSoftwareOptionsProperty: opensearchservice.CfnDomain.ServiceSoftwareOptionsProperty = {
  automatedUpdateDate: 'automatedUpdateDate',
  cancellable: false,
  currentVersion: 'currentVersion',
  description: 'description',
  newVersion: 'newVersion',
  optionalDeployment: false,
  updateAvailable: false,
  updateStatus: 'updateStatus',
};
```

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

service_software_options_property = opensearchservice.CfnDomain.ServiceSoftwareOptionsProperty(
    automated_update_date="automatedUpdateDate",
    cancellable=False,
    current_version="currentVersion",
    description="description",
    new_version="newVersion",
    optional_deployment=False,
    update_available=False,
    update_status="updateStatus"
)
```

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

ServiceSoftwareOptionsProperty serviceSoftwareOptionsProperty = ServiceSoftwareOptionsProperty.builder()
        .automatedUpdateDate("automatedUpdateDate")
        .cancellable(false)
        .currentVersion("currentVersion")
        .description("description")
        .newVersion("newVersion")
        .optionalDeployment(false)
        .updateAvailable(false)
        .updateStatus("updateStatus")
        .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 serviceSoftwareOptionsProperty = new ServiceSoftwareOptionsProperty {
    AutomatedUpdateDate = "automatedUpdateDate",
    Cancellable = false,
    CurrentVersion = "currentVersion",
    Description = "description",
    NewVersion = "newVersion",
    OptionalDeployment = false,
    UpdateAvailable = false,
    UpdateStatus = "updateStatus"
};
```

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"

serviceSoftwareOptionsProperty := &ServiceSoftwareOptionsProperty{
	AutomatedUpdateDate: jsii.String("automatedUpdateDate"),
	Cancellable: jsii.Boolean(false),
	CurrentVersion: jsii.String("currentVersion"),
	Description: jsii.String("description"),
	NewVersion: jsii.String("newVersion"),
	OptionalDeployment: jsii.Boolean(false),
	UpdateAvailable: jsii.Boolean(false),
	UpdateStatus: jsii.String("updateStatus"),
}
```

## Properties

- `automatedUpdateDate`: string — The timestamp, in Epoch time, until which you can manually request a service software update.

  After this date, we automatically update your service software.

- `cancellable`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — True if you're able to cancel your service software version update.

  False if you can't cancel your service software update.

- `currentVersion`: string — The current service software version present on the domain.

- `description`: string — A description of the service software update status.

- `newVersion`: string — The new service software version, if one is available.

- `optionalDeployment`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — True if a service software is never automatically updated.

  False if a service software is automatically updated after the automated update date.

- `updateAvailable`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — True if you're able to update your service software version.

  False if you can't update your service software version.

- `updateStatus`: string — The status of your service software update.
