Skip to content
v2.278.0

SoftwareUpdateOptionsProperty Struct ​

Options for configuring service software updates for a domain.

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 softwareUpdateOptionsProperty: opensearchservice.CfnDomain.SoftwareUpdateOptionsProperty = {
  autoSoftwareUpdateEnabled: false,
  useLatestServiceSoftwareForBlueGreen: false,
};
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
// 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();
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
};
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 ​

autoSoftwareUpdateEnabledoptionalboolean | IResolvableauto_software_update_enabledoptionaltyping.Union[bool, IResolvable]autoSoftwareUpdateEnabledoptionalBooleanAutoSoftwareUpdateEnabledoptionalboolAutoSoftwareUpdateEnabledoptionalinterface{} #
Specifies whether automatic service software updates are enabled for the domain.
useLatestServiceSoftwareForBlueGreenoptionalboolean | IResolvableuse_latest_service_software_for_blue_greenoptionaltyping.Union[bool, IResolvable]useLatestServiceSoftwareForBlueGreenoptionalBooleanUseLatestServiceSoftwareForBlueGreenoptionalboolUseLatestServiceSoftwareForBlueGreenoptionalinterface{} #