EC2ManagedInstanceProperty Struct
| Source | |
|---|---|
| Type last changed |
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 eC2ManagedInstanceProperty: workspacesinstances.CfnWorkspaceInstance.EC2ManagedInstanceProperty = {
instanceId: 'instanceId',
};
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
e_c2_managed_instance_property = workspacesinstances.CfnWorkspaceInstance.EC2ManagedInstanceProperty(
instance_id="instanceId"
)
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.*;
EC2ManagedInstanceProperty eC2ManagedInstanceProperty = EC2ManagedInstanceProperty.builder()
.instanceId("instanceId")
.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 eC2ManagedInstanceProperty = new EC2ManagedInstanceProperty {
InstanceId = "instanceId"
};
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"
eC2ManagedInstanceProperty := &EC2ManagedInstanceProperty{
InstanceId: jsii.String("instanceId"),
}
Properties
instanceIdoptionalstringinstance_idoptionalstrinstanceIdoptionalStringInstanceIdoptionalstringInstanceIdoptional*string #