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: