The Fn::GetAZs function in CloudFormation returns a list of Availability Zones given a particular region.
Fn::GetAZs
Info on Fn::GetAZs from AWS can be found here
In KloudFormation you can use the GetAZs class:
GetAZs
GetAZs(awsRegion)