// GetAllAWSServerlessLayerVersionResources retrieves all AWSServerlessLayerVersion items from an AWS CloudFormation template
774679
func (t *Template) GetAllAWSServerlessLayerVersionResources() map[string]*resources.AWSServerlessLayerVersion {
	results := map[string]*resources.AWSServerlessLayerVersion{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSServerlessLayerVersion:
			results[name] = resource
		}
	}
	return results
}
790563
func (t *Template) GetAllAWSConfigConfigurationRecorderResources() map[string]*resources.AWSConfigConfigurationRecorder {
	results := map[string]*resources.AWSConfigConfigurationRecorder{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSConfigConfigurationRecorder:
			results[name] = resource
		}
	}
	return results
}
919480
func (t *Template) GetAWSGreengrassGroupVersionWithName(name string) (*resources.AWSGreengrassGroupVersion, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSGreengrassGroupVersion:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSGreengrassGroupVersion not found", name)
}
1000771
func (t *Template) GetAllAWSGreengrassGroupVersionResources() map[string]*resources.AWSGreengrassGroupVersion {
	results := map[string]*resources.AWSGreengrassGroupVersion{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSGreengrassGroupVersion:
			results[name] = resource
		}
	}
	return results
}
675632
func (t *Template) GetAllAWSEC2NetworkInterfaceResources() map[string]*resources.AWSEC2NetworkInterface {
	results := map[string]*resources.AWSEC2NetworkInterface{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSEC2NetworkInterface:
			results[name] = resource
		}
	}
	return results
}
1287863
func (t *Template) GetAllAWSServerlessFunctionResources() map[string]*resources.AWSServerlessFunction {
	results := map[string]*resources.AWSServerlessFunction{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSServerlessFunction:
			results[name] = resource
		}
	}
	return results
}
195960
func (t *Template) GetAllAWSServerlessSimpleTableResources() map[string]*resources.AWSServerlessSimpleTable {
	results := map[string]*resources.AWSServerlessSimpleTable{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSServerlessSimpleTable:
			results[name] = resource
		}
	}
	return results
}
46660
func (t *Template) GetAllAWSEC2EIPResources() map[string]*resources.AWSEC2EIP {
	results := map[string]*resources.AWSEC2EIP{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSEC2EIP:
			results[name] = resource
		}
	}
	return results
}
1357170
func (t *Template) GetAllAWSECRRepositoryResources() map[string]*resources.AWSECRRepository {
	results := map[string]*resources.AWSECRRepository{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSECRRepository:
			results[name] = resource
		}
	}
	return results
}
898957
func (t *Template) GetAllAWSEC2VPCResources() map[string]*resources.AWSEC2VPC {
	results := map[string]*resources.AWSEC2VPC{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSEC2VPC:
			results[name] = resource
		}
	}
	return results
}
532311
func (t *Template) GetAllAWSAutoScalingScalingPolicyResources() map[string]*resources.AWSAutoScalingScalingPolicy {
	results := map[string]*resources.AWSAutoScalingScalingPolicy{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSAutoScalingScalingPolicy:
			results[name] = resource
		}
	}
	return results
}
375369
func (t *Template) GetAllAWSGreengrassSubscriptionDefinitionVersionResources() map[string]*resources.AWSGreengrassSubscriptionDefinitionVersion {
	results := map[string]*resources.AWSGreengrassSubscriptionDefinitionVersion{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSGreengrassSubscriptionDefinitionVersion:
			results[name] = resource
		}
	}
	return results
}
131805
func (t *Template) GetAllAWSGreengrassLoggerDefinitionVersionResources() map[string]*resources.AWSGreengrassLoggerDefinitionVersion {
	results := map[string]*resources.AWSGreengrassLoggerDefinitionVersion{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSGreengrassLoggerDefinitionVersion:
			results[name] = resource
		}
	}
	return results
}
1281730
func (t *Template) GetAllAWSSESConfigurationSetResources() map[string]*resources.AWSSESConfigurationSet {
	results := map[string]*resources.AWSSESConfigurationSet{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSSESConfigurationSet:
			results[name] = resource
		}
	}
	return results
}
939071
func (t *Template) GetAllAWSLambdaLayerVersionPermissionResources() map[string]*resources.AWSLambdaLayerVersionPermission {
	results := map[string]*resources.AWSLambdaLayerVersionPermission{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSLambdaLayerVersionPermission:
			results[name] = resource
		}
	}
	return results
}
669128
func (t *Template) GetAllAWSSESTemplateResources() map[string]*resources.AWSSESTemplate {
	results := map[string]*resources.AWSSESTemplate{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSSESTemplate:
			results[name] = resource
		}
	}
	return results
}
48017
func (t *Template) GetAWSApiGatewayDocumentationVersionWithName(name string) (*resources.AWSApiGatewayDocumentationVersion, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSApiGatewayDocumentationVersion:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSApiGatewayDocumentationVersion not found", name)
}