InstanceNetworkInterfaceSpecificationProperty 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 instanceNetworkInterfaceSpecificationProperty: workspacesinstances.CfnWorkspaceInstance.InstanceNetworkInterfaceSpecificationProperty = {
description: 'description',
deviceIndex: 123,
groups: ['groups'],
subnetId: 'subnetId',
};
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
instance_network_interface_specification_property = workspacesinstances.CfnWorkspaceInstance.InstanceNetworkInterfaceSpecificationProperty(
description="description",
device_index=123,
groups=["groups"],
subnet_id="subnetId"
)
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.*;
InstanceNetworkInterfaceSpecificationProperty instanceNetworkInterfaceSpecificationProperty = InstanceNetworkInterfaceSpecificationProperty.builder()
.description("description")
.deviceIndex(123)
.groups(List.of("groups"))
.subnetId("subnetId")
.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 instanceNetworkInterfaceSpecificationProperty = new InstanceNetworkInterfaceSpecificationProperty {
Description = "description",
DeviceIndex = 123,
Groups = new [] { "groups" },
SubnetId = "subnetId"
};
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"
instanceNetworkInterfaceSpecificationProperty := &InstanceNetworkInterfaceSpecificationProperty{
Description: jsii.String("description"),
DeviceIndex: jsii.Number(123),
Groups: []*string{
jsii.String("groups"),
},
SubnetId: jsii.String("subnetId"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #deviceIndexoptionalnumberdevice_indexoptionalint | floatdeviceIndexoptionalNumberDeviceIndexoptionaldoubleDeviceIndexoptional*float64 #groupsoptionalstring[]groupsoptionaltyping.List[str]groupsoptionalList<String>Groupsoptionalstring[]Groupsoptional*[]*string #subnetIdoptionalstringsubnet_idoptionalstrsubnetIdoptionalStringSubnetIdoptionalstringSubnetIdoptional*string #