interface ManagedInstanceProperty
Language | Type name |
.NET | Amazon.CDK.aws_workspacesinstances.CfnWorkspaceInstance.ManagedInstanceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesinstances#CfnWorkspaceInstance_ManagedInstanceProperty |
Java | software.amazon.awscdk.services.workspacesinstances.CfnWorkspaceInstance.ManagedInstanceProperty |
Python | aws_cdk.aws_workspacesinstances.CfnWorkspaceInstance.ManagedInstanceProperty |
TypeScript | aws-cdk-lib » aws_workspacesinstances » CfnWorkspaceInstance » ManagedInstanceProperty |
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html
Example
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const managedInstanceProperty: workspacesinstances.CfnWorkspaceInstance.ManagedInstanceProperty = {
imageId: 'imageId',
instanceType: 'instanceType',
blockDeviceMappings: [{
deviceName: 'deviceName',
ebs: {
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
throughput: 123,
volumeSize: 123,
volumeType: 'volumeType',
},
noDevice: 'noDevice',
virtualName: 'virtualName',
}],
cpuOptions: {
coreCount: 123,
threadsPerCore: 123,
},
creditSpecification: {
cpuCredits: 'cpuCredits',
},
disableApiStop: false,
ebsOptimized: false,
enclaveOptions: {
enabled: false,
},
hibernationOptions: {
configured: false,
},
iamInstanceProfile: {
name: 'name',
},
keyName: 'keyName',
maintenanceOptions: {
autoRecovery: 'autoRecovery',
},
metadataOptions: {
httpEndpoint: 'httpEndpoint',
httpProtocolIpv6: 'httpProtocolIpv6',
httpPutResponseHopLimit: 123,
httpTokens: 'httpTokens',
instanceMetadataTags: 'instanceMetadataTags',
},
monitoring: {
enabled: false,
},
networkInterfaces: [{
description: 'description',
deviceIndex: 123,
groups: ['groups'],
subnetId: 'subnetId',
}],
networkPerformanceOptions: {
bandwidthWeighting: 'bandwidthWeighting',
},
placement: {
availabilityZone: 'availabilityZone',
groupName: 'groupName',
tenancy: 'tenancy',
},
privateDnsNameOptions: {
enableResourceNameDnsAaaaRecord: false,
enableResourceNameDnsARecord: false,
hostnameType: 'hostnameType',
},
tagSpecifications: [{
resourceType: 'resourceType',
tags: [{
key: 'key',
value: 'value',
}],
}],
userData: 'userData',
};
Properties
imageId
Type:
string
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-imageid
instanceType
Type:
string
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-instancetype
blockDeviceMappings?
Type:
IResolvable
|
IResolvable
|
BlockDeviceMappingProperty
[]
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-blockdevicemappings
cpuOptions?
Type:
IResolvable
|
CpuOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-cpuoptions
creditSpecification?
Type:
IResolvable
|
CreditSpecificationRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-creditspecification
disableApiStop?
Type:
boolean |
IResolvable
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-disableapistop
ebsOptimized?
Type:
boolean |
IResolvable
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-ebsoptimized
enclaveOptions?
Type:
IResolvable
|
EnclaveOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-enclaveoptions
hibernationOptions?
Type:
IResolvable
|
HibernationOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-hibernationoptions
iamInstanceProfile?
Type:
IResolvable
|
IamInstanceProfileSpecificationProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-iaminstanceprofile
keyName?
Type:
string
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-keyname
maintenanceOptions?
Type:
IResolvable
|
InstanceMaintenanceOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-maintenanceoptions
metadataOptions?
Type:
IResolvable
|
InstanceMetadataOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-metadataoptions
monitoring?
Type:
IResolvable
|
RunInstancesMonitoringEnabledProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-monitoring
networkInterfaces?
Type:
IResolvable
|
IResolvable
|
InstanceNetworkInterfaceSpecificationProperty
[]
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-networkinterfaces
networkPerformanceOptions?
Type:
IResolvable
|
InstanceNetworkPerformanceOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-networkperformanceoptions
placement?
Type:
IResolvable
|
PlacementProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-placement
privateDnsNameOptions?
Type:
IResolvable
|
PrivateDnsNameOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-privatednsnameoptions
tagSpecifications?
Type:
IResolvable
|
IResolvable
|
TagSpecificationProperty
[]
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-tagspecifications
userData?
Type:
string
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-userdata