Interface CfnWorkspaceInstance.ManagedInstanceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspaceInstance.ManagedInstanceProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspaceInstance
@Stability(Stable)
public static interface CfnWorkspaceInstance.ManagedInstanceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
ManagedInstanceProperty managedInstanceProperty = ManagedInstanceProperty.builder()
.imageId("imageId")
.instanceType("instanceType")
// the properties below are optional
.blockDeviceMappings(List.of(BlockDeviceMappingProperty.builder()
.deviceName("deviceName")
.ebs(EbsBlockDeviceProperty.builder()
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build())
.noDevice("noDevice")
.virtualName("virtualName")
.build()))
.cpuOptions(CpuOptionsRequestProperty.builder()
.coreCount(123)
.threadsPerCore(123)
.build())
.creditSpecification(CreditSpecificationRequestProperty.builder()
.cpuCredits("cpuCredits")
.build())
.disableApiStop(false)
.ebsOptimized(false)
.enclaveOptions(EnclaveOptionsRequestProperty.builder()
.enabled(false)
.build())
.hibernationOptions(HibernationOptionsRequestProperty.builder()
.configured(false)
.build())
.iamInstanceProfile(IamInstanceProfileSpecificationProperty.builder()
.name("name")
.build())
.keyName("keyName")
.maintenanceOptions(InstanceMaintenanceOptionsRequestProperty.builder()
.autoRecovery("autoRecovery")
.build())
.metadataOptions(InstanceMetadataOptionsRequestProperty.builder()
.httpEndpoint("httpEndpoint")
.httpProtocolIpv6("httpProtocolIpv6")
.httpPutResponseHopLimit(123)
.httpTokens("httpTokens")
.instanceMetadataTags("instanceMetadataTags")
.build())
.monitoring(RunInstancesMonitoringEnabledProperty.builder()
.enabled(false)
.build())
.networkInterfaces(List.of(InstanceNetworkInterfaceSpecificationProperty.builder()
.description("description")
.deviceIndex(123)
.groups(List.of("groups"))
.subnetId("subnetId")
.build()))
.networkPerformanceOptions(InstanceNetworkPerformanceOptionsRequestProperty.builder()
.bandwidthWeighting("bandwidthWeighting")
.build())
.placement(PlacementProperty.builder()
.availabilityZone("availabilityZone")
.groupName("groupName")
.tenancy("tenancy")
.build())
.privateDnsNameOptions(PrivateDnsNameOptionsRequestProperty.builder()
.enableResourceNameDnsAaaaRecord(false)
.enableResourceNameDnsARecord(false)
.hostnameType("hostnameType")
.build())
.tagSpecifications(List.of(TagSpecificationProperty.builder()
.resourceType("resourceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.userData("userData")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspaceInstance.ManagedInstancePropertystatic final classAn implementation forCfnWorkspaceInstance.ManagedInstanceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Stringdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault Objectdefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageId
- See Also:
-
getInstanceType
- See Also:
-
getBlockDeviceMappings
- See Also:
-
getCpuOptions
- See Also:
-
getCreditSpecification
- See Also:
-
getDisableApiStop
- See Also:
-
getEbsOptimized
- See Also:
-
getEnclaveOptions
- See Also:
-
getHibernationOptions
- See Also:
-
getIamInstanceProfile
- See Also:
-
getKeyName
- See Also:
-
getMaintenanceOptions
- See Also:
-
getMetadataOptions
- See Also:
-
getMonitoring
- See Also:
-
getNetworkInterfaces
- See Also:
-
getNetworkPerformanceOptions
- See Also:
-
getPlacement
- See Also:
-
getPrivateDnsNameOptions
- See Also:
-
getTagSpecifications
- See Also:
-
getUserData
- See Also:
-
builder
-