code: func (t *Template) GetAllAWSCloudFrontDistributionResources() map[string]*resources.AWSCloudFrontDistribution {
  	results := map[string]*resources.AWSCloudFrontDistribution{}
  	for name, untyped := range t.Resources {
  		switch resource := untyped.(type) {
  		case *resources.AWSCloudFrontDistribution:
  			results[name] = resource
  		}
  	}
  	return results
  }
docs: // GetAllAWSCloudFrontDistributionResources retrieves all AWSCloudFrontDistribution items from an AWS CloudFormation template