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',
}],
capacityReservationSpecification: {
capacityReservationPreference: 'capacityReservationPreference',
capacityReservationTarget: {
capacityReservationId: 'capacityReservationId',
capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
},
},
cpuOptions: {
coreCount: 123,
threadsPerCore: 123,
},
creditSpecification: {
cpuCredits: 'cpuCredits',
},
disableApiStop: false,
ebsOptimized: false,
enablePrimaryIpv6: false,
enclaveOptions: {
enabled: false,
},
hibernationOptions: {
configured: false,
},
iamInstanceProfile: {
arn: 'arn',
name: 'name',
},
instanceMarketOptions: {
marketType: 'marketType',
spotOptions: {
instanceInterruptionBehavior: 'instanceInterruptionBehavior',
maxPrice: 'maxPrice',
spotInstanceType: 'spotInstanceType',
validUntilUtc: 'validUntilUtc',
},
},
ipv6AddressCount: 123,
keyName: 'keyName',
licenseSpecifications: [{
licenseConfigurationArn: 'licenseConfigurationArn',
}],
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',
groupId: 'groupId',
groupName: 'groupName',
partitionNumber: 123,
tenancy: 'tenancy',
},
privateDnsNameOptions: {
enableResourceNameDnsAaaaRecord: false,
enableResourceNameDnsARecord: false,
hostnameType: 'hostnameType',
},
subnetId: 'subnetId',
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
capacityReservationSpecification?
Type:
IResolvable
|
CapacityReservationSpecificationProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-capacityreservationspecification
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
enablePrimaryIpv6?
Type:
boolean |
IResolvable
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-enableprimaryipv6
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
instanceMarketOptions?
Type:
IResolvable
|
InstanceMarketOptionsRequestProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-instancemarketoptions
ipv6AddressCount?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-ipv6addresscount
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
licenseSpecifications?
Type:
IResolvable
| (
IResolvable
|
LicenseConfigurationRequestProperty
)[]
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-licensespecifications
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
subnetId?
Type:
string
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-managedinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance-subnetid
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