1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
You can call DescribeVpcEndpointServices API via custom resource lambda in your CloudFormation, filtering for the specific service and then get the list of availability zones available to that service. You can then use this information in your other resources within the stack. Example output snippet via the AWS CLI:
{
"ServiceDetails": [
{
"ServiceName": "aws.sagemaker.us-east-1.notebook",
"ServiceId": "vpce-svc-0e123abc123198abc",
"ServiceType": [
{
"ServiceType": "Interface"
}
],
"AvailabilityZones": [
"us-east-1a",
"us-east-1b",
"us-east-1c",
"us-east-1d",
"us-east-1e",
"us-east-1f"
],
"Owner": "amazon",
"BaseEndpointDnsNames": [
"vpce-svc-0e123abc123198abc.us-east-1.vpce.amazonaws.com",
"notebook.us-east-1.vpce.sagemaker.aws"
],
"PrivateDnsName": "*.notebook.us-east-1.sagemaker.aws",
"VpcEndpointPolicySupported": true,
"AcceptanceRequired": false,
"ManagesVpcEndpoints": false,
"Tags": [],
"PrivateDnsNameVerificationState": "verified"
},
...
}
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 10 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- Wie lösche ich meinen Network Load Balancer, der VPC-Endpunkt-Services (PrivateLink) zugeordnet ist?AWS OFFICIALAktualisiert vor 2 Jahren