code: func (t *Template) GetAWSEC2TransitGatewayRouteTablePropagationWithName(name string) (*resources.AWSEC2TransitGatewayRouteTablePropagation, error) {
  	if untyped, ok := t.Resources[name]; ok {
  		switch resource := untyped.(type) {
  		case *resources.AWSEC2TransitGatewayRouteTablePropagation:
  			return resource, nil
  		}
  	}
  	return nil, fmt.Errorf("resource %q of type AWSEC2TransitGatewayRouteTablePropagation not found", name)
  }
docs: // GetAWSEC2TransitGatewayRouteTablePropagationWithName retrieves all AWSEC2TransitGatewayRouteTablePropagation items from an AWS CloudFormation template
  // whose logical ID matches the provided name. Returns an error if not found.