To use this function add it to the class library file named OrchestratorPluginAWSService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorPluginAWSService.ts
Description: Orchestrator Function to Delete an AWS EC2 Route IPv6
Private Function: EC2RouteDeleteIPv6
public EC2RouteDeleteIPv6(objAWSClient: AWSClient, strIpv6CidrBlock: string, objEC2RouteTable: EC2RouteTable): string {
let objEC2DeleteRouteRequest: EC2DeleteRouteRequest = new EC2DeleteRouteRequest();
objEC2DeleteRouteRequest.setRouteTableId(objEC2RouteTable.getRouteTableId());
objEC2DeleteRouteRequest.setDestinationIpv6CidrBlock(strIpv6CidrBlock)
let strEC2DeleteRouteResult: string = this.EC2RouteDelete(objAWSClient, objEC2DeleteRouteRequest);
return strEC2DeleteRouteResult;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
