Skip to content

NetworkInterfacePermissionProps

Properties for defining a NetworkInterfacePermission.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission

Initializer

import ros_cdk_ecs
ros_cdk_ecs.NetworkInterfacePermissionProps(
  account_id: typing.Union[str, IResolvable],
  network_interface_id: typing.Union[str, IResolvable],
  permission: typing.Union[str, IResolvable]
)

Properties

Name Type Description
account_id typing.Union[str, ros_cdk_core.IResolvable] Property accountId: The ID of the account to which the permission is granted.
network_interface_id typing.Union[str, ros_cdk_core.IResolvable] Property networkInterfaceId: Network interface id.
permission typing.Union[str, ros_cdk_core.IResolvable] Property permission: The permission to grant.

account_idRequired

account_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


network_interface_idRequired

network_interface_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property networkInterfaceId: Network interface id.


permissionRequired

permission: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.