NetworkInterfacePermissionProps
Properties for defining a NetworkInterfacePermission.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
Initializer
import { NetworkInterfacePermissionProps } from '@alicloud/ros-cdk-ecs'
const networkInterfacePermissionProps: NetworkInterfacePermissionProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
accountId | string | @alicloud/ros-cdk-core.IResolvable | Property accountId: The ID of the account to which the permission is granted. |
networkInterfaceId | string | @alicloud/ros-cdk-core.IResolvable | Property networkInterfaceId: Network interface id. |
permission | string | @alicloud/ros-cdk-core.IResolvable | Property permission: The permission to grant. |
accountIdRequired
public readonly accountId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountId: The ID of the account to which the permission is granted.
The account can be a cloud partner (certified ISV) or an individual user.
networkInterfaceIdRequired
public readonly networkInterfaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkInterfaceId: Network interface id.
permissionRequired
public readonly permission: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property permission: The permission to grant.
The only supported value is InstanceAttach. InstanceAttach: Allows an authorized account to attach your elastic network interface to one of its ECS instances. The ECS instance and the elastic network interface must be in the same availability zone.