ServiceSoftwareOptionsProperty Struct
The current status of the service software for an Amazon OpenSearch Service domain.
For more information, see Service software updates in Amazon OpenSearch Service .
| 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_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
# 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
// 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();
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"
};
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
automatedUpdateDateoptionalstringautomated_update_dateoptionalstrautomatedUpdateDateoptionalStringAutomatedUpdateDateoptionalstringAutomatedUpdateDateoptional*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.
cancellableoptionalboolean | IResolvablecancellableoptionaltyping.Union[bool, IResolvable]cancellableoptionalBooleanCancellableoptionalboolCancellableoptionalinterface{} #True if you're able to cancel your service software version update.
False if you can't cancel your service software update.
currentVersionoptionalstringcurrent_versionoptionalstrcurrentVersionoptionalStringCurrentVersionoptionalstringCurrentVersionoptional*string #The current service software version present on the domain.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the service software update status.
newVersionoptionalstringnew_versionoptionalstrnewVersionoptionalStringNewVersionoptionalstringNewVersionoptional*string #The new service software version, if one is available.
optionalDeploymentoptionalboolean | IResolvableoptional_deploymentoptionaltyping.Union[bool, IResolvable]optionalDeploymentoptionalBooleanOptionalDeploymentoptionalboolOptionalDeploymentoptionalinterface{} #True if a service software is never automatically updated.
False if a service software is automatically updated after the automated update date.
updateAvailableoptionalboolean | IResolvableupdate_availableoptionaltyping.Union[bool, IResolvable]updateAvailableoptionalBooleanUpdateAvailableoptionalboolUpdateAvailableoptionalinterface{} #True if you're able to update your service software version.
False if you can't update your service software version.
updateStatusoptionalstringupdate_statusoptionalstrupdateStatusoptionalStringUpdateStatusoptionalstringUpdateStatusoptional*string #The status of your service software update.