// GetAWSGlueCrawlerWithName retrieves all AWSGlueCrawler items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found.
437415
func (t *Template) GetAWSGlueCrawlerWithName(name string) (*resources.AWSGlueCrawler, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSGlueCrawler:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSGlueCrawler not found", name)
}
675521
func (t *Template) GetAWSAppSyncResolverWithName(name string) (*resources.AWSAppSyncResolver, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSAppSyncResolver:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSAppSyncResolver not found", name)
}
954262
func (t *Template) GetAWSGuardDutyDetectorWithName(name string) (*resources.AWSGuardDutyDetector, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSGuardDutyDetector:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSGuardDutyDetector not found", name)
}
1148216
func (t *Template) GetAWSDAXClusterWithName(name string) (*resources.AWSDAXCluster, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSDAXCluster:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSDAXCluster not found", name)
}
363534
func (t *Template) GetAWSWAFRegionalWebACLWithName(name string) (*resources.AWSWAFRegionalWebACL, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSWAFRegionalWebACL:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSWAFRegionalWebACL not found", name)
}
125485
func (t *Template) GetAWSDMSCertificateWithName(name string) (*resources.AWSDMSCertificate, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSDMSCertificate:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSDMSCertificate not found", name)
}
148722
func (t *Template) GetAWSOpsWorksStackWithName(name string) (*resources.AWSOpsWorksStack, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSOpsWorksStack:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSOpsWorksStack not found", name)
}
1209738
func (t *Template) GetAWSLambdaPermissionWithName(name string) (*resources.AWSLambdaPermission, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSLambdaPermission:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSLambdaPermission not found", name)
}
1309576
func (t *Template) GetAWSECSTaskDefinitionWithName(name string) (*resources.AWSECSTaskDefinition, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSECSTaskDefinition:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSECSTaskDefinition not found", name)
}
1371155
func (t *Template) GetAWSEC2RouteWithName(name string) (*resources.AWSEC2Route, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSEC2Route:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSEC2Route not found", name)
}
1096466
func (t *Template) GetAWSEC2VPCWithName(name string) (*resources.AWSEC2VPC, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSEC2VPC:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSEC2VPC not found", name)
}
22410
func (t *Template) GetAWSWAFRegionalByteMatchSetWithName(name string) (*resources.AWSWAFRegionalByteMatchSet, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSWAFRegionalByteMatchSet:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSWAFRegionalByteMatchSet not found", name)
}
330435
func (t *Template) GetAWSApiGatewayV2AuthorizerWithName(name string) (*resources.AWSApiGatewayV2Authorizer, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSApiGatewayV2Authorizer:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2Authorizer not found", name)
}
294478
func (t *Template) GetAWSAppMeshVirtualRouterWithName(name string) (*resources.AWSAppMeshVirtualRouter, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSAppMeshVirtualRouter:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSAppMeshVirtualRouter not found", name)
}
1303641
func (t *Template) GetAWSECRRepositoryWithName(name string) (*resources.AWSECRRepository, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSECRRepository:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSECRRepository not found", name)
}
626422
func (t *Template) GetAWSRoute53ResolverResolverRuleWithName(name string) (*resources.AWSRoute53ResolverResolverRule, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSRoute53ResolverResolverRule:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRule not found", name)
}
241429
func (t *Template) GetAWSGlueDatabaseWithName(name string) (*resources.AWSGlueDatabase, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSGlueDatabase:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSGlueDatabase not found", name)
}