create_vpc_endpoint_service_configuration
¶
create_vpc_endpoint_service_configuration(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
acceptance_required: Optional[Boolean] = None,
private_dns_name: Optional[String] = None,
network_load_balancer_arns: Optional[ValueStringList] = None,
gateway_load_balancer_arns: Optional[ValueStringList] = None,
supported_ip_address_types: Optional[ValueStringList] = None,
supported_regions: Optional[ValueStringList] = None,
client_token: Optional[String] = None,
tag_specifications: Optional[TagSpecificationList] = None,
) -> CreateVpcEndpointServiceConfigurationResult
Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts, users, and IAM roles) can connect.
Before you create an endpoint service, you must create one of the following for your service:
-
A Network Load Balancer. Service consumers connect to your service using an interface endpoint.
-
A Gateway Load Balancer. Service consumers connect to your service using a Gateway Load Balancer endpoint.
If you set the private DNS name, you must prove that you own the private DNS domain name.
For more information, see the Amazon Web Services PrivateLink Guide.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
acceptance_required(Optional[Boolean], default:None) –Indicates whether requests from service consumers to create an endpoint to your service must be accepted manually.
-
private_dns_name(Optional[String], default:None) –(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.
-
network_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of the Network Load Balancers.
-
gateway_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
-
supported_ip_address_types(Optional[ValueStringList], default:None) –The supported IP address types. The possible values are
ipv4andipv6. -
supported_regions(Optional[ValueStringList], default:None) –The Regions from which service consumers can access the service.
-
client_token(Optional[String], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to associate with the service.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 | |