Skip to content

VpcGatewayEndpointProps

Properties for defining a VpcGatewayEndpoint.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpcgatewayendpoint

Initializer

import ros_cdk_vpc
ros_cdk_vpc.VpcGatewayEndpointProps(
  service_name: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  endpoint_description: typing.Union[str, IResolvable] = None,
  endpoint_name: typing.Union[str, IResolvable] = None,
  policy_document: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
service_name typing.Union[str, ros_cdk_core.IResolvable] Property serviceName: Terminal service name.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The VPC ID of the gateway endpoint is to be created.
endpoint_description typing.Union[str, ros_cdk_core.IResolvable] Property endpointDescription: Description information of the gateway endpoint.
endpoint_name typing.Union[str, ros_cdk_core.IResolvable] Property endpointName: The name of the gateway endpoint.
policy_document typing.Union[str, ros_cdk_core.IResolvable] Property policyDocument: Access policies for cloud services.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The resource group ID to which the gateway endpoint belongs.
tags typing.List[TagsProperty] Property tags: The list of tags in the form of key\/value pairs.

service_nameRequired

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

Property serviceName: Terminal service name.


vpc_idRequired

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

Property vpcId: The VPC ID of the gateway endpoint is to be created.

The VPC must be in the same region as the gateway endpoint.


endpoint_descriptionOptional

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

Property endpointDescription: Description information of the gateway endpoint.

The length of the description information is between 1 and 255 characters.


endpoint_nameOptional

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

Property endpointName: The name of the gateway endpoint.

The length of the name is between 1 and 128 characters.


policy_documentOptional

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

Property policyDocument: Access policies for cloud services.

For the syntax and structure of access policies, see Permission Policy Syntax and Structure. illustrate This field is required when the selected endpoint service supports setting access policies; This field must be empty when the selected endpoint service does not support setting access policies. Whether the terminal node service supports setting access policies can be obtained through the ListVpcEndpointServicesByEndUser interface. SupportPolicy is true to indicate support, otherwise it is not supported.


resource_group_idOptional

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

Property resourceGroupId: The resource group ID to which the gateway endpoint belongs.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: The list of tags in the form of key\/value pairs.

You can define a maximum of 20 tags.