create_vpc_endpoint_service_configuration
async
¶
create_vpc_endpoint_service_configuration(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 | |