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
publicEC2RouteDeleteIPv6(objAWSClient:AWSClient,strIpv6CidrBlock:string,objEC2RouteTable:EC2RouteTable):string{
letobjEC2DeleteRouteRequest:EC2DeleteRouteRequest=newEC2DeleteRouteRequest();
objEC2DeleteRouteRequest.setRouteTableId(objEC2RouteTable.getRouteTableId());
objEC2DeleteRouteRequest.setDestinationIpv6CidrBlock(strIpv6CidrBlock)
letstrEC2DeleteRouteResult:string=this.EC2RouteDelete(objAWSClient,objEC2DeleteRouteRequest);
returnstrEC2DeleteRouteResult;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
