// GetAllAWSServiceCatalogPortfolioProductAssociationResources retrieves all AWSServiceCatalogPortfolioProductAssociation items from an AWS CloudFormation template
170166
func (t *Template) GetAllAWSServiceCatalogPortfolioProductAssociationResources() map[string]*resources.AWSServiceCatalogPortfolioProductAssociation {
	results := map[string]*resources.AWSServiceCatalogPortfolioProductAssociation{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSServiceCatalogPortfolioProductAssociation:
			results[name] = resource
		}
	}
	return results
}
290990
func (t *Template) GetAllAWSLambdaVersionResources() map[string]*resources.AWSLambdaVersion {
	results := map[string]*resources.AWSLambdaVersion{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSLambdaVersion:
			results[name] = resource
		}
	}
	return results
}
234904
func (t *Template) GetAllAWSSageMakerEndpointResources() map[string]*resources.AWSSageMakerEndpoint {
	results := map[string]*resources.AWSSageMakerEndpoint{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSSageMakerEndpoint:
			results[name] = resource
		}
	}
	return results
}
1062427
func (t *Template) GetAllAWSAppSyncDataSourceResources() map[string]*resources.AWSAppSyncDataSource {
	results := map[string]*resources.AWSAppSyncDataSource{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSAppSyncDataSource:
			results[name] = resource
		}
	}
	return results
}
959784
func (t *Template) GetAllAWSApplicationAutoScalingScalableTargetResources() map[string]*resources.AWSApplicationAutoScalingScalableTarget {
	results := map[string]*resources.AWSApplicationAutoScalingScalableTarget{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSApplicationAutoScalingScalableTarget:
			results[name] = resource
		}
	}
	return results
}
1285042
func (t *Template) GetAllAWSServiceDiscoveryServiceResources() map[string]*resources.AWSServiceDiscoveryService {
	results := map[string]*resources.AWSServiceDiscoveryService{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSServiceDiscoveryService:
			results[name] = resource
		}
	}
	return results
}
607235
func (t *Template) GetAllAWSEC2VPCGatewayAttachmentResources() map[string]*resources.AWSEC2VPCGatewayAttachment {
	results := map[string]*resources.AWSEC2VPCGatewayAttachment{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSEC2VPCGatewayAttachment:
			results[name] = resource
		}
	}
	return results
}
967480
func (t *Template) GetAWSServiceCatalogPortfolioProductAssociationWithName(name string) (*resources.AWSServiceCatalogPortfolioProductAssociation, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSServiceCatalogPortfolioProductAssociation:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSServiceCatalogPortfolioProductAssociation not found", name)
}
494817
func (t *Template) GetAllAWSLogsDestinationResources() map[string]*resources.AWSLogsDestination {
	results := map[string]*resources.AWSLogsDestination{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSLogsDestination:
			results[name] = resource
		}
	}
	return results
}
119747
func (t *Template) GetAllAWSOpsWorksAppResources() map[string]*resources.AWSOpsWorksApp {
	results := map[string]*resources.AWSOpsWorksApp{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSOpsWorksApp:
			results[name] = resource
		}
	}
	return results
}
405230
func (t *Template) GetAllAWSAppStreamStackFleetAssociationResources() map[string]*resources.AWSAppStreamStackFleetAssociation {
	results := map[string]*resources.AWSAppStreamStackFleetAssociation{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSAppStreamStackFleetAssociation:
			results[name] = resource
		}
	}
	return results
}
692997
func (t *Template) GetAllAWSIoTThingResources() map[string]*resources.AWSIoTThing {
	results := map[string]*resources.AWSIoTThing{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSIoTThing:
			results[name] = resource
		}
	}
	return results
}
531159
func (t *Template) GetAllAWSSageMakerEndpointConfigResources() map[string]*resources.AWSSageMakerEndpointConfig {
	results := map[string]*resources.AWSSageMakerEndpointConfig{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSSageMakerEndpointConfig:
			results[name] = resource
		}
	}
	return results
}
332107
func (t *Template) GetAWSServiceCatalogPortfolioWithName(name string) (*resources.AWSServiceCatalogPortfolio, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSServiceCatalogPortfolio:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSServiceCatalogPortfolio not found", name)
}
594051
func (t *Template) GetAllAWSInspectorAssessmentTemplateResources() map[string]*resources.AWSInspectorAssessmentTemplate {
	results := map[string]*resources.AWSInspectorAssessmentTemplate{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSInspectorAssessmentTemplate:
			results[name] = resource
		}
	}
	return results
}
655333
func (t *Template) GetAllAWSECSTaskDefinitionResources() map[string]*resources.AWSECSTaskDefinition {
	results := map[string]*resources.AWSECSTaskDefinition{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSECSTaskDefinition:
			results[name] = resource
		}
	}
	return results
}
969148
func (t *Template) GetAllAWSSSMResourceDataSyncResources() map[string]*resources.AWSSSMResourceDataSync {
	results := map[string]*resources.AWSSSMResourceDataSync{}
	for name, untyped := range t.Resources {
		switch resource := untyped.(type) {
		case *resources.AWSSSMResourceDataSync:
			results[name] = resource
		}
	}
	return results
}