aws ec2 delete-vpc-endpoints –vpc-endpoint-ids vpce-0725b5d5bc12ac9ca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT line_item_resource_id, | |
line_item_usage_start_date, | |
line_item_usage_end_date, | |
line_item_usage_type, | |
line_item_cost | |
FROM "your_aws_schema"."your_aws_cur_table" | |
WHERE line_item_line_item_type = 'Usage' | |
AND line_item_usage_start_date >= date_trunc('day', current_date - interval '31' DAY) | |
AND line_item_usage_start_date < date_trunc('day', current_date - interval '1' DAY) | |
AND line_item_resource_id LIKE '%natgateway%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT line_item_resource_id, | |
line_item_usage_start_date, | |
line_item_usage_end_date, | |
line_item_usage_type, | |
line_item_cost | |
FROM "your_aws_schema"."your_aws_cur_table" | |
WHERE line_item_line_item_type = 'Usage' | |
AND line_item_usage_start_date >= date_trunc('day', current_date - interval '31' DAY) | |
AND line_item_usage_start_date < date_trunc('day', current_date - interval '1' DAY) | |
AND line_item_resource_id LIKE '%natgateway%' |
aws ec2 delete-vpc-endpoints –vpc-endpoint-ids vpce-0725b5d5bc12ac9ca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 delete-vpc-endpoints --vpc-endpoint-ids vpce-0725b5d5bc12ac9ca |
aws ec2 delete-vpc-endpoints –vpc-endpoint-ids vpce-0725b5d5bc12ac9ca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 delete-vpc-endpoints --vpc-endpoint-ids vpce-0725b5d5bc12ac9ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 delete-vpc-endpoints --vpc-endpoint-ids vpce-0725b5d5bc12ac9ca |
{
"VpcEndpoints": [
{
"VpcEndpointId": "vpce-0725b5d5bc12ac9ca",
"VpcEndpointType": "Interface",
"VpcId": "vpc-0d6ffa7d6cdd9dae9",
"ServiceName": "com.amazonaws.us-west-2.s3",
"State": "Available",
"PolicyDocument": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":[\"s3:*\"],\"Resource\":[\"*\"]}]}",
{ “VpcEndpoints”: [ { “VpcEndpointId”: “vpce-0725b5d5bc12ac9ca”, “VpcEndpointType”: “Interface”, “VpcId”: “vpc-0d6ffa7d6cdd9dae9”, “ServiceName”: “com.amazonaws.us-west-2.s3”, “State”: “Available”, “PolicyDocument”: “{"Version":"2008-10-17","Statement":[{"Effect":"Allow","Principal":"","Action":["s3:"],"Resource":["*"]}]}”, “RouteTableIds”: [],
NewerOlder