Skip to content
v2.277.0

InstanceMaintenanceOptionsRequestProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const instanceMaintenanceOptionsRequestProperty: workspacesinstances.CfnWorkspaceInstance.InstanceMaintenanceOptionsRequestProperty = {
  autoRecovery: 'autoRecovery',
};
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_workspacesinstances as workspacesinstances

instance_maintenance_options_request_property = workspacesinstances.CfnWorkspaceInstance.InstanceMaintenanceOptionsRequestProperty(
    auto_recovery="autoRecovery"
)
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.workspacesinstances.*;

InstanceMaintenanceOptionsRequestProperty instanceMaintenanceOptionsRequestProperty = InstanceMaintenanceOptionsRequestProperty.builder()
        .autoRecovery("autoRecovery")
        .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.WorkspacesInstances;

var instanceMaintenanceOptionsRequestProperty = new InstanceMaintenanceOptionsRequestProperty {
    AutoRecovery = "autoRecovery"
};
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"

instanceMaintenanceOptionsRequestProperty := &InstanceMaintenanceOptionsRequestProperty{
	AutoRecovery: jsii.String("autoRecovery"),
}

Properties ​

autoRecoveryoptionalstringauto_recoveryoptionalstrautoRecoveryoptionalStringAutoRecoveryoptionalstringAutoRecoveryoptional*string #